pagehides

occurs when the user navigates away from a webpage