@Nullable
  public static Url selectLocation(Project project, @NotNull Url url) {
    SelectLocationDialog dialog = openDialog(project, url, null, null, true, null);

    return dialog == null || !dialog.isOK() ? null : dialog.getSelectedURL();
  }
@Nullable
  public static Url selectLocation(Project project, @NotNull Url url)