       @.$('.input-group').tooltip('hide')
       window.setTimeout =>
         @logoutUser() if @logoutOnHide
+        @callback(@callbackArgs) if @callback && @callbackOnHide
         $(@el).remove()
       , 500
       

    
  hide: (args) =>
    args = {} unless args
    @logoutOnHide = args.logout if args.logout != undefined
    
    @.$('.modal').modal('hide')
    false
  

      data: submitData
      dataType: "json"
      success: (response) =>
        @hide(logout: false, callback: true)
      error: (response) =>
        resp = $.parseJSON(response.responseText)
        @.$('.input-group').tooltip(
