fix double close button issue on lightboxes (bug 870988)