add close button to infobox