You could try this method as well. I’m not sure if it will be helpful or useful for what you want, but it is an alternate way to do CMS lightboxes.