Window now closes