Only dispose() modal dialogs immediately