@Override
      public PopupStep<?> onChosen(final DiffRequestProducer selectedValue, boolean finalChoice) {
        return doFinalStep(() -> {
          int index = myChain.getRequests().indexOf(selectedValue);
          myOnSelected.consume(index);
        });
      }
@Override
      public PopupStep<?> onChosen(final DiffRequestProducer selectedValue, boolean finalChoice)