-----------------------------------

Close window when done