(Issue #3712) Utility to detect mobile safari only
(Issue #3712) Modify modal for mobile safari