added popup are you sure you want to quit