@Override
    public void uiDataSnapshot(@NotNull DataSink sink) {
      DialogWrapper wrapper = myDialogWrapper.get();
      DataSink.uiDataSnapshot(sink, wrapper);
      Project project = getProject();
      if (project != null && project.isInitialized()) {
        sink.set(CommonDataKeys.PROJECT, project);
      }
    }
@Override
    public void uiDataSnapshot(@NotNull DataSink sink)