code: @Override
      protected void addFileInput(CmsFileInput fileInput) {
  
          // add the files selected by the user to the list of files to upload
          if (fileInput != null) {
              m_inputsToUpload.put(fileInput.getFiles()[0].getFileName(), fileInput);
          }
          super.addFileInput(fileInput);
      }
docs: Adds the given file input field to this dialog.<p>
  
  @param fileInput the file input field to add