Added event listeners to close the info windows.