confirmation on exit added