Added window close example