Popup a gallery

I have been trying to find a solution to my problem for the last three days. I want to open a photo gallery in a popup. I’ve tried the three UABB Modules Modal Popup with Photo Gallery and wie Photo Carousel. NoGo because the popup stays in front of the images.

Maybe someone has a good idea what I could try next?