Warning on refresh, nav away, close the window.