Chrome plans to change behavior of alert() et.al.: https://developers.google.com/web/updates/2017/03/dialogs-policy