@Override
      public void actionPerformed(@NotNull AnActionEvent e) {
        Configuration configuration = myConfigurationProducer.get();
        if (ConfigurationManager.getInstance(project).showSaveTemplateAsDialog(configuration)) {
          reloadUserTemplates(configurationManager);
          DefaultMutableTreeNode node = TreeUtil.findNodeWithObject(myUserTemplatesNode, configuration);
          if (node != null) {
            TreeUtil.selectNode(patternTree, node);
          }
        }
      }
@Override
      public void actionPerformed(@NotNull AnActionEvent e)