@Override
        public PopupStep<?> onChosen(JsonMappingKind selectedValue, boolean finalChoice) {
          if (finalChoice) {
            return doFinalStep(() -> doRun(selectedValue));
          }
          return FINAL_CHOICE;
        }
@Override
        public PopupStep<?> onChosen(JsonMappingKind selectedValue, boolean finalChoice)