notify user who leaving page

notify users that leaving the page would interrupt their upload