I\'d like to do something like this:
Window.addWindowClosingHandler(new Window.ClosingHandler() { @Override public void onWindowClosing(ClosingEven
You want to look into Window.Confirm for this kind of functionality.
You can read up on it here: gwt.user.client.Window