 
   bindEvents: ->
     @.$('.modal').modal().bind 'hide', =>
-      @.$('.input-group').tooltip('hide')
+      @hideTooltip()
       window.setTimeout =>
         @logoutUser() if @logoutOnHide
         @callback(@callbackArgs) if @callback && @callbackOnHide

            @showTooltip(@buildErrors(resp.errors),true)
          when 403
            @logoutUser()

  submitComplete: ->
    submitData = {}

    submitData.user.confirm_registration = true
    submitData.persist_session = true

    @disableInput()

    $.ajax
      type: 'POST'
      url: "/v1/users.json"
