Making overlay window within a component set(variant)

I Made a Variant based on the number of image boxes in a note box .
there are 3 variants .
I already wired an overlay window in 3 of them .
all overlay wirings exist in prototyping mode but in presenting mode they don’t work.
why?