DialogueOptions options = new DialogueOptions(
new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
FormValidation validation = form.validate();
if (!validation.hasErrors()) {
Role scopedRole = new Role(nameItem.getValue(), nameItem.getValue(),
baseRoleItem.getValue(), typeItem.getValue(), scopeItem.getValue());
scopedRole.setIncludeAll(includeAllItem.getValue());
presenter.addScopedRole(scopedRole);
}