code: protected void addSaveButton() {
  
          if (m_editorDialog != null) {
              m_saveButton = new CmsPushButton();
              m_saveButton.setText(Messages.get().key(Messages.GUI_BUTTON_SAVE_TEXT_0));
              m_saveButton.setUseMinWidth(true);
              m_saveButton.setButtonStyle(ButtonStyle.TEXT, ButtonColor.GREEN);
              m_saveButton.addClickHandler(new ClickHandler() {
  
                  public void onClick(ClickEvent event) {
  
                      saveEdit();
                  }
              });
              m_editorDialog.addButton(m_saveButton);
          }
      }
docs: Adds the save button to the dialog.<p>