@Override
  protected void createDefaultActions() {
    super.createDefaultActions();
    myOKAction = new OkAction(){
      @Override
      public void actionPerformed(ActionEvent e) {
        super.actionPerformed(e);
        int addWatchModifiers = getAddWatchModifiers();
        if (mySession != null && (e.getModifiers() & addWatchModifiers) == addWatchModifiers) {
          addToWatches();
        }
      }
    };
  }
@Override
  protected void createDefaultActions()