code: public void installOnDialog(CmsFormDialog dialog) {
  
          if (CmsCoreProvider.get().getUserInfo().isDeveloper()) {
              setDialog(dialog);
              dialog.addButton(this);
          }
      }
docs: Installs the button on a dialog if the user has sufficient permissions.<p>
  
  @param dialog the dialog to which the button should be added