beforeunload event
Go to up node.