@Override
  protected void doOKAction() {
    List<Path> paths = myPanel.chosenPaths();
    if (paths.isEmpty()) {
      Messages.showWarningDialog(myPanel, UIBundle.message("file.chooser.nothing.selected"), getTitle());
      return;
    }

    myChosenFiles = myHelper.selectedFiles(paths, myPanel, getTitle());
    if (myChosenFiles.length == 0) return;

    FileChooserUtil.updateRecentPaths(myProject, myChosenFiles[0]);

    super.doOKAction();
  }
@Override
  protected void doOKAction()