add lightbox functionality triggered by clicking on a link