Updating alert to wait for it to be present (Chrome fix)