docs: public static void showDialog() {
  
          final CmsPopup popup = new CmsPopup(
              Messages.get().key(Messages.GUI_PASSWORD_CHANGE_TITLE_1, CmsCoreProvider.get().getUserInfo().getName()));
          popup.setModal(true);
          popup.setGlassEnabled(true);
          CmsPushButton okButton = new CmsPushButton();
          okButton.setButtonStyle(ButtonStyle.TEXT, ButtonColor.RED);
          okButton.setText(Messages.get().key(Messages.GUI_OK_0));
          okButton.setUseMinWidth(true);
          CmsPushButton cancelButton = new CmsPushButton();
          cancelButton.setButtonStyle(ButtonStyle.TEXT, ButtonColor.BLUE);
          cancelButton.setText(Messages.get().key(Messages.GUI_CANCEL_0));
          cancelButton.setUseMinWidth(true);
          popup.addButton(cancelButton);
          popup.addButton(okButton);
  
          Runnable finishAction = new Runnable() {
  
              public void run() {
  
                  popup.hide();
              }
          };
          final CmsChangePasswordWidget passwordWidget = new CmsChangePasswordWidget(finishAction);
          okButton.addClickHandler(new ClickHandler() {
  
              public void onClick(ClickEvent e) {
  
                  passwordWidget.changePassword();
              }
          });
  
          cancelButton.addClickHandler(new ClickHandler() {
  
              public void onClick(ClickEvent e) {
  
                  popup.hide();
              }
          });
          popup.setMainContent(passwordWidget);
          popup.center();
  
      }