Trying to create a crate to store items in but having problems with the UI

Trying to create an object that can act as a storage container, so I can transfer items from the player’s inventory to the container. I can’t figure out how to delete the widget on the viewport when I’m done though…
I could simply set the widget to be invisible, but then a new widget would spawn each time I open the crate, which I imagine would lead to problems.

Use “Remove From Parent” node