private void execute(final NewDocumentStartCommand cmd) {
Date now = new Date();
StaticActionDialog ad = StaticActionDialog.get();
ad.update("New Document", "Do you want to start the new document in a new window?",
new ActionDialogOption[] {
new ActionDialogOption("Open New Window", new SystemOpenPageCommand("Untitled" + now.getTime(), "/docs", false)),
new ActionDialogOption("Use Current Window", new SystemOpenPageCommand("Untitled" + now.getTime(), "/docs", true))
}
);
ad.center();
}