Hiding a container can be done using an onclick event on a w3-closebtn:
To hide this container, click on the X in the upper right corner.