Dismiss modals if navigating for the global nav.
Merge branch 'master' of github.com:setdirection/ios-shared