docs: public void openDialogWithFiles(List<CmsFileInfo> files) {
  
          if (m_uploadDialog == null) {
              try {
                  m_uploadDialog = GWT.create(CmsUploadDialogImpl.class);
                  I_CmsUploadContext context = m_contextFactory.get();
                  m_uploadDialog.setContext(context);
                  updateDialog();
                  if (m_button != null) {
                      // the current upload button is located outside the dialog, reinitialize it with a new button handler instance
                      m_button.reinitButton(
                          new CmsDialogUploadButtonHandler(m_contextFactory, m_targetFolder, m_isTargetRootPath));
                  }
              } catch (Exception e) {
                  CmsErrorDialog.handleException(
                      new Exception(
                          "Deserialization of dialog data failed. This may be caused by expired java-script resources, please clear your browser cache and try again.",
                          e));
                  return;
              }
          }
          m_uploadDialog.addFiles(files);
          if (m_button != null) {
              m_button.createFileInput();
          }
      }