I can't make the lightbox work

I have a simple image and I want it to show in the lightbox when clicking, but it keeps opening on a new page.

is there something I must activate or do?

in Elementer it works out of the box and I thought it’s the same with bricks. what is missing here?