How do I hide a piece of UI?

#1

I created a container around a label to have a background for my text. How can I hide the complete container from my dialogue system after the user has confirmed the dialogue?