code: private CmsPushButton createButton(String buttonText) {
  
          CmsPushButton button = new CmsPushButton();
          button.setTitle(buttonText);
          button.setText(buttonText);
          button.setSize(I_CmsButton.Size.medium);
          button.setUseMinWidth(true);
          return button;
      }
docs: Creates a dialog text button.<p>
  
  @param buttonText the button text
  
  @return the button