close infobox on click of all favorites