@Nullable
  public static Pair<Url, Url> selectLocationAndRoot(Project project, @NotNull Url url) {
    SelectLocationDialog dialog = new SelectLocationDialog(project, url, null, null, true, true);
    return dialog.showAndGet() ? create(dialog.getSelectedURL(), dialog.getRootUrl()) : null;
  }
@Nullable
  public static Pair<Url, Url> selectLocationAndRoot(Project project, @NotNull Url url)