@Override
    public void hide(final boolean autoClosed) {
        if (dialogActionHandler != null) {
            if (autoClosed) {
                dialogActionHandler.onDialogAction(DialogAction.AUTO_CLOSE);
            } else {
                dialogActionHandler.onDialogAction(DialogAction.CLOSE);
            }
        }
    }
This is overridden as we don't want popups to hide without the presenter
to get a chance to do something about it. When hide occurs the presenter
will be notified via the event and will then choose whether or not to
force the popup to hide.
stroom-core-client-widget/src/main/java/stroom/widget/popup/client/view/ResizableDialog.java