Fixed: Dialogs are now properly handled.