apply iOS check for modal show in site.js