code: void submit() {
  
          try {
              // Special user info attributes may have been set since the time the dialog was instantiated,
              // and we don't want to overwrite them, so we read the user again.
              m_user = m_context.getCms().readUser(m_user.getId());
              m_form.submit(m_user, m_context.getCms(), new Runnable() {
  
                  public void run() {
  
                      try {
                          m_context.getCms().writeUser(m_user);
                          m_context.finish(Collections.<CmsUUID> emptyList());
                          m_context.updateUserInfo();
                      } catch (CmsException e) {
                          //
                      }
                  }
              });
          } catch (CmsException e) {
              LOG.error("Unable to read user", e);
          }
      }
docs: Submits the dialog.<p>