Attempt to abstract lightboxes use