docs: public static void showPublishDialog(
          CmsPublishData result,
          CloseHandler<PopupPanel> handler,
          Runnable refreshAction,
          I_CmsContentEditorHandler editorHandler) {
  
          CmsPublishDialog publishDialog = new CmsPublishDialog(result, refreshAction, editorHandler);
          if (handler != null) {
              publishDialog.addCloseHandler(handler);
          }
          publishDialog.centerHorizontally(50);
          // replace current notification widget by overlay
          publishDialog.catchNotifications();
      }