if (warning.length() > 0) {
StandardDialogBox box = new StandardDialogBox();
box.setTitle("Permission Changes");
box.add(new HTML("You are changing some of the permissions for this project."
+ warning.toString() + "<br><br>"));
box.addDialogClosedHandler(new DialogClosedHandler() {
@Override
public void onDialogClosed(DialogClosedEvent event) {
if (event.getResult().equals(DialogResult.OK)) {
presenter.onUpdateProjectInfoClicked(projectName.getText(),
projectDescription.getText(), newOwners, newEditors, newViewers,