ask for comfirmation if user wants to leave the dashboard