                       else
                         unless input.getValue() is passwordForm.inputs.confirm.getValue()
                           modal.setTitle "Looks good, please confirm it."
-
-                  events              :
-                    passwordCheck     : "keyup"
 
                 nextElement           :
                   confirm             :

                    name              : 'passwordConfirm'
                    placeholder       : 'confirm password'
                    validate          :
                      rules           :
                        passwordCheck : (input, event)=>

                          passwordForm = modal.modalTabs.forms.password
                          if passwordForm.inputs.password.getValue().length >= 8
                            if input.getValue() is passwordForm.inputs.password.getValue()
                              modal.setTitle "Both look good!"
                              passwordForm.buttons.submit.enable()
                            else
                              modal.setTitle "Passwords should match."
                              passwordForm.buttons.submit.disable()

                      events          :
                        passwordCheck : "keyup"


            buttons           :
              submit          :

                name                  : 'password'
                placeholder           : 'password'
                validate              :
                  events              :
                    passwordCheck     : 'keyup'
                  rules               :
                    passwordCheck     : (input, event)=>

