fixed search
close image popup when click anywhere on document
cursor pointer for event image only when there really is an image
only open image popup on click when there really is an image