:: close the window ::