@Override
    public PopupStep<?> onChosen(Object selectedValue, boolean finalChoice) {
      if (getConfigureMessage().equals(selectedValue)) {
        return doFinalStep(() -> BranchConfigurationDialog.configureBranches(myProject, myVcsRoot));
      }

      Url url = (Url)selectedValue;
      if (url.equals(myConfiguration.getTrunk())) {
        return doFinalStep(() -> myCallback.branchSelected(myProject, myConfiguration, url, -1));
      }
      else {
        return doFinalStep(() -> showBranchPopup(url));
      }
    }
@Override
    public PopupStep<?> onChosen(Object selectedValue, boolean finalChoice)