Adding modal functionality to lightbox

Review this!