Hi,
I am building a message confirmation box when i button is press in the gallery, it confirms the action, then press the button, it will hide it from the gallery. here is the code for the popup, something isn't quite right



The patch, works perfectly in a button on its own, is just when i'm adding it to the code above, I have the issue.
Please may someone help correct it please?
Thank you so much