attempt to make popups appear in apple webkits