You can add a container in your page and make it visible based on an entity attribute (boolean).
Toggle the boolean based on the click in a nanoflow.
If it is toggled, the container will be visible.