code: @Override
      public void actionExit() throws IOException, JspException, ServletException {
  
          if (getAction() == ACTION_CANCEL) {
              // save and exit was canceled
              return;
          }
  
          // unlock resource, if no modified
          actionClear(false);
  
          // close the editor
          actionClose();
      }
docs: Performs the exit editor action.<p>
  
  @see org.opencms.workplace.editors.CmsEditor#actionExit()