@Override
  protected Action @NotNull [] createActions() {
    List<Action> actions = new ArrayList<>();
    DialogWrapperAction stayInLightEditAction = new DialogWrapperAction(ApplicationBundle.message("light.edit.confirmation.stay.button")) {
      @Override
      protected void doAction(ActionEvent e) {
        close(STAY_IN_LIGHT_EDIT);
      }
    };
    stayInLightEditAction.putValue(DialogWrapper.DEFAULT_ACTION, true);
    stayInLightEditAction.putValue(DialogWrapper.FOCUSED_ACTION, true);
    actions.add(stayInLightEditAction);
    actions.add(
      new DialogWrapperAction(ApplicationBundle.message("light.edit.confirmation.project.button")) {
        @Override
        protected void doAction(ActionEvent e) {
          close(PROCEED_TO_PROJECT);
        }
      }
    );
    return actions.toArray(new Action[0]);
  }
@Override
  protected Action @NotNull [] createActions()