iOS: HTML close button fix