Fix for alert issue in FireFox and Safari

Temporary fix for an issue in FireFox and Chrome via SauceLabs.  Next step is to update this in bok_choy, then have edx-e2e-tests use that instead.