Clicking a link in a lightbox caption does not close the lightbox