Handle close window  
handle