docs: private void createButtons() {
  
          m_okButton = createButton(org.opencms.gwt.client.Messages.get().key(org.opencms.gwt.client.Messages.GUI_OK_0));
          m_okButton.addClickHandler(new ClickHandler() {
  
              /**
               * @see com.google.gwt.event.dom.client.ClickHandler#onClick(com.google.gwt.event.dom.client.ClickEvent)
               */
              public void onClick(ClickEvent event) {
  
                  uploadFile();
              }
          });
          if (m_fileInput == null) {
              m_okButton.disable(Messages.get().key(Messages.GUI_REPLACE_NO_FILE_SELECTED_0));
          }
          addButton(m_okButton);
  
          // add a new upload button
          m_uploadButton = new CmsUploadButton(m_handler);
          m_uploadButton.addStyleName(I_CmsLayoutBundle.INSTANCE.uploadButton().uploadDialogButton());
          m_uploadButton.setText(Messages.get().key(Messages.GUI_REPLACE_CHANGE_FILE_0));
          addButton(m_uploadButton);
          m_handler.setButton(m_uploadButton);
      }