docs: public void showPasswordResetDialog() {
  
          String caption = CmsVaadinUtils.getMessageText(Messages.GUI_PWCHANGE_FORGOT_PASSWORD_0);
          A_CmsUI r = A_CmsUI.get();
          r.setContent(new Label());
          Window window = CmsBasicDialog.prepareWindow(DialogWidth.narrow);
          CmsBasicDialog dialog = new CmsBasicDialog();
          VerticalLayout result = new VerticalLayout();
          dialog.setContent(result);
          window.setContent(dialog);
          window.setCaption(caption);
          window.setClosable(true);
          final CmsForgotPasswordDialog forgotPassword = new CmsForgotPasswordDialog();
          window.addCloseListener(new CloseListener() {
  
              /** Serial version id. */
              private static final long serialVersionUID = 1L;
  
              public void windowClose(CloseEvent e) {
  
                  forgotPassword.cancel();
              }
  
          });
          for (Button button : forgotPassword.getButtons()) {
              dialog.addButton(button);
          }
  
          r.addWindow(window);
          window.center();
          VerticalLayout vl = result;
          vl.addComponent(forgotPassword);
      }