Hiding a dynamic panel pop box by clicking on a button inside it

In this attached example, what I want to do is hide the dialog/pop-up box by clicking on a button inside the dialog box. I am able to show/hide the dialog box if I use a button outside of the box but not inside it. Also, I need the dialog box to be a dynamic panel in order show/hide all the components inside it.

I’ve used the “Treat as light box” feature, but I still want the ability to close by explicitly clicking on a button inside the pop up box.

show-hide.rp (47.3 KB)

You’ve just got a little bug :slight_smile: :bug:

In the interactions for the close button, you’ve specified ‘Show’, not ‘Hide’: