Added prompt when leaving/reloading page
Signed-off-by: Shivam Dixit <shivamd001@gmail.com>