CONSOLE MESSAGE: Use of window.alert is not allowed while unloading a page.
You should have seen an unload alert appear.