code: public static void editModelPage(final String resourcePath, boolean isModelGroup) {
  
          if (CmsSitemapView.getInstance().getController().getData().isShowModelEditConfirm()) {
              I_CmsConfirmDialogHandler handler = new I_CmsConfirmDialogHandler() {
  
                  public void onClose() {
  
                      // noop
                  }
  
                  public void onOk() {
  
                      openEditor(resourcePath);
                  }
              };
              String dialogTitle;
              String dialogContent;
              if (isModelGroup) {
                  dialogTitle = Messages.get().key(Messages.GUI_EDIT_MODEL_GROUPS_CONFIRM_TITLE_0);
                  dialogContent = Messages.get().key(Messages.GUI_EDIT_MODEL_GROUP_CONFIRM_CONTENT_0);
              } else {
                  dialogTitle = Messages.get().key(Messages.GUI_EDIT_MODELPAGE_CONFIRM_TITLE_0);
                  dialogContent = Messages.get().key(Messages.GUI_EDIT_MODELPAGE_CONFIRM_CONTENT_0);
              }
              String buttonText = Messages.get().key(Messages.GUI_EDIT_MODELPAGE_OK_0);
  
              CmsConfirmDialog dialog = new CmsConfirmDialog(dialogTitle, dialogContent);
              dialog.getOkButton().setText(buttonText);
              dialog.setHandler(handler);
              dialog.center();
          } else {
              openEditor(resourcePath);
          }
      }
docs: Opens the editor for a model page menu entry.<p>
  
  @param resourcePath the resource path of the model page
  @param isModelGroup if the given entry is a model group page