That sounds great, but it seems like a Hard Problem, given that lots of sites/apps use modals for necessary things like logins and shopping carts. I suppose one approach would be to inject some kind of 'close and stay closed' control into any elements that cover the page (nice for paywall gray screens, too...)