String question = "processdata.comments.yesno.help";
@Override
protected void showValidationErrorsOrSave(final WidgetContextSupport support, final Map<ProcessToolDataWidget, Collection<String>> validationErrors) {
if (validationErrors.isEmpty()) {
YesNoDialog dialog = showDialog(new YesNoDialog(title, question));
dialog.getYesButton().addListener(new Button.ClickListener() {
@Override
public void buttonClick(Button.ClickEvent event) {
YesNoButton.super.showValidationErrorsOrSave(support, validationErrors);
}
});