Don't take over global onbeforeunload fn