Dimmer widget on Floorplan

i’m new with pages and floorpanel.

I’m able to create a widget with a dimmer inside a page related to a specific light item, i can configure and show inside a floorpanel for a specific marker. i understand that this works must be for every marker inside on every single floorpanel, but we have more than 400 lights!

Is there a way for create a generic popup widget with a dimmer inside that accept as a parameter the item id? in this way a can connect 400 markers with the same widget.

Many thanks for your help and for your time.