docs: public void displayDialog() throws Exception {
  
          Map<String, String[]> params = initAdminTool();
  
          // explorer view dialogs
          if (CmsExplorerDialog.EXPLORER_TOOLS.contains(getCurrentToolPath())) {
              if (getAction() == CmsDialog.ACTION_CANCEL) {
                  actionCloseDialog();
                  return;
              }
              getToolManager().jspForwardPage(this, CmsToolManager.ADMINVIEW_ROOT_LOCATION + "/tool-fs.jsp", params);
              return;
          }
  
          // real tool
          if (!getAdminTool().getHandler().getLink().equals(getCms().getRequestContext().getUri())) {
              getToolManager().jspForwardPage(this, getAdminTool().getHandler().getLink(), params);
              return;
          }
  
          // just grouping
          if (getAction() == CmsDialog.ACTION_CANCEL) {
              actionCloseDialog();
              return;
          }
  
          JspWriter out = getJsp().getJspContext().getOut();
          out.print(htmlStart());
          out.print(bodyStart(null));
          out.print(dialogStart());
          out.print(dialogContentStart(getParamTitle()));
          out.print(dialogContentEnd());
          out.print(dialogEnd());
          out.print(bodyEnd());
          out.print(htmlEnd());
      }