Hello!
I am having a problem with a gallery popup.
What I need to do, is update a record on my gallery, when a button is clicked. I built the popup, but it appears on every single record displayed. And I only want it to show on the record I have selected (not all records have the button displayed, because it is only visible for those which have "No" in a certain column)
I looked for solutions here, and I found a few, but I can't make it work. I tried adding a new column (a solution I read), didn't work. Also tried and IF function If(ThisItem.IsSelected;!variable;variable), and it worked on opening the popup, but I couldn't close it... Tried filtering ID column, but I couldn't break the function.

Can you help me please?