                     navigationBar.present()
 
         dismiss: ->
-            $main = $ '#main'
-            $form = $main.find 'form.themis-form-login'
-            if $form.length > 0
-                $form.off 'submit'
-            $main.html ''
+            $('#main').html ''
             navigationBar.dismiss()
 
     new LoginView()

                    navigationBar.present()

        dismiss: ->
            $main = $ '#main'
            $form = $main.find 'form.themis-form-signin'
            if $form.length > 0
                $form.off 'submit'
            $main.html ''
            navigationBar.dismiss()

    new SigninView()

                    navigationBar.present()

        dismiss: ->
            $('#main').html ''
            navigationBar.dismiss()

    new SignupView()
