private void doOpenErrorsDialog(@Nullable LogMessage message) {
    Project project = frame == null ? null : frame.getProject();
    dialog = new IdeErrorsDialog(messagePool, project, message) {
      @Override
      protected void dispose() {
        super.dispose();
        dialog = null;
        updateIconAndNotify();
      }

      @Override
      protected void updateOnSubmit() {
        super.updateOnSubmit();
        updateIcon(messagePool.getState());
      }
    };
    dialog.show();
  }
private void doOpenErrorsDialog(@Nullable LogMessage message)