close window confirm if insight not saved