added alert; onbeforeunload

I mainly wrote this one line code to test if I can fork / know how to fork.