Warns user their info will be lost if they use the back button