@Override
  public void actionPerformed(final @NotNull AnActionEvent e) {
    Project project = e.getData(CommonDataKeys.PROJECT);
    if (project != null && project.isDisposed()) {
      return;
    }
    if (project == null) {
      //setup template project configurations
      project = ProjectManager.getInstance().getDefaultProject();
    }
    RunnerAndConfigurationSettings configurationSettings = e.getData(RunToolbarPopupKt.RUN_CONFIGURATION_KEY);
    if (configurationSettings != null) {
      new EditConfigurationsDialog(project, new ProjectRunConfigurationConfigurable(project) {
        @Override
        protected RunnerAndConfigurationSettings getInitialSelectedConfiguration() {
          return configurationSettings;
        }
      }, e.getDataContext()).show();
    }
    else {
      new EditConfigurationsDialog(project, e.getDataContext()).show();
    }
  }
@Override
  public void actionPerformed(final @NotNull AnActionEvent e)