..................................................................... close window