docs: public void confirmSaveChanges(String message, final Command onConfirm, final Command onCancel) {
  
          CmsConfirmDialog confirmDialog = new CmsConfirmDialog("Confirm", message);
          confirmDialog.setHandler(new I_CmsConfirmDialogHandler() {
  
              /**
               * @see org.opencms.gwt.client.ui.I_CmsCloseDialogHandler#onClose()
               */
              public void onClose() {
  
                  if (onCancel != null) {
                      onCancel.execute();
                  }
              }
  
              /**
               * @see org.opencms.gwt.client.ui.I_CmsConfirmDialogHandler#onOk()
               */
              public void onOk() {
  
                  if (onConfirm != null) {
                      onConfirm.execute();
                  }
              }
          });
          confirmDialog.center();
      }