@Override
      public void onClosed(@NotNull LightweightWindowEvent event) {
        field.removeKeyListener(keyListener);
        field.removeDocumentListener(documentListener);
      }
@Override
      public void onClosed(@NotNull LightweightWindowEvent event)