Dsc 268

Removed dependency on browser's exit page dialogue box, and implemented the alert and confirm box for the reset button.