Open modal on button click in collection item

Hey Everyone,
I have a locations collection section in a static page.
Each item has a button “See Schedule”
I want to open modal which has schedule and other details.
I am using webflow native interactions to open modal.

The requirement is that I want to let client update these schedule images.
The problem is that how can I let collection popup know what location schedule is clicked?

1 Like

You build the popup into the collection item directly, with the item-specific content you want. In your element hierarchy, position your trigger button so that it is at the same depth as the modal for that item, then set your interaction trigger so that it affects only the sibling modal.

This way, clicking the Item 1 button will only open the Item 1 modal.

1 Like