Modal ios fix

This is so gross. :poop: 

Some references (we're not using Bootstrap, of course, but our approach to modals is similar):
 - https://github.com/twbs/bootstrap/issues/9023
 - https://github.com/angular-ui/bootstrap/issues/1812
 - https://github.com/angular-ui/bootstrap/pull/1813