void (@Nls @NotNull String message) { if (Messages.showOkCancelDialog(myProject, message, DvcsBundle.message("action.push"), DvcsBundle.message("action.push.anyway"), IdeBundle.message("button.cancel"), UIUtil.getWarningIcon()) == Messages.OK) { result.set(PrePushHandler.Result.OK); } else { result.set(PrePushHandler.Result.ABORT); } }