public boolean showDialogAndGet(Project project) {
    return new DialogWrapper(project) {
      {
        init();
        setTitle(ResourceBundleEditorBundle.message("incomplete.property.locales.to.ignore.dialog.title"));
      }

      @Override
      protected JComponent createCenterPanel() {
        return buildPanel();
      }
    }.showAndGet();
  }
public boolean showDialogAndGet(Project project)