added onbeforeunload warning to nuace.html