public boolean confirm(String message) { boolean x = Window.confirm(message); Log.debug("DONE WITH CONFIRM = " + x); if (!x) { // set tab to correct place on cancel cf.getHome().setTab(cf); } return x; }