code: private CmsPushButton createButton(String text) {
  
          CmsPushButton result = new CmsPushButton();
          result.setText(text);
          result.setUseMinWidth(true);
          return result;
      }
docs: Creates a button for the dialog.<p>
  
  @param text the button text
  
  @return the created button