private void browseForEnvFile() {
    if (myEnvFilePaths.isEmpty()) {
      EnvFilesDialogKt.addEnvFile(getTextField(), null, s -> {
        myEnvFilePaths.add(s);
        updateText();
        return null;
      });
    }
    else {
      EnvFilesDialog dialog = new EnvFilesDialog(this, myEnvFilePaths);
      dialog.show();
      if (dialog.isOK()) {
        myEnvFilePaths = new ArrayList<>(dialog.getPaths());
        updateText();
      }
    }
  }
private void browseForEnvFile()