close open div in search message