attempt to fix iphone modal issue