make info window close when a new one is opened