Add support for non closable dialogs