code: public void showPublishDialog() {
  
          CmsPublishDialog.showPublishDialog(new HashMap<String, String>(), new CloseHandler<PopupPanel>() {
  
              /**
               * @see com.google.gwt.event.logical.shared.CloseHandler#onClose(com.google.gwt.event.logical.shared.CloseEvent)
               */
              public void onClose(CloseEvent<PopupPanel> event) {
  
                  deactivateCurrentButton();
  
              }
          }, new Runnable() {
  
              public void run() {
  
                  showPublishDialog();
              }
  
          }, null);
      }
docs: Opens the publish dialog.<p>