Close program confirmation when clicking the close window X in the right hand corner