code: public String exportButton() throws Exception {
  
          StringBuffer sb = new StringBuffer();
          sb.append(exportAll());
          sb.append(exportDialogMode());
          return sb.toString();
      }
docs: Special export for the button mode.<p>
  
  @return the data
  
  @throws Exception if something goes wrong