@VisibleForTesting
  public void sendStatisticsAndClose() {
    if (isShowing() || ApplicationManager.getApplication().isUnitTestMode()) {
      if (myMlService != null) {
        myMlService.onSearchFinished(
          myProject, () -> myListModel.getFoundElementsInfo()
        );
      }
    }
    closePopup();
  }
@VisibleForTesting
  public void sendStatisticsAndClose()