added functionality to add lightboxes with content