(Issue 3402) Add work-around for iOS 7 Safari bug impacting bootstrap modal