how do i close two widget at once?

I’m still making my inventory system… and I still have the problem where when I get into the binding box and press ‘R’ to interact, two widgets appear… when I try to close it (by pressing ‘E’) it closes one widget at the time, so what would be a possible solution to this?
I didn’t make two widgets separate widgets for that UI. I made one base Widget that takes the components from the player and an actor… I tried implementing an ‘EndInteract’ event with a ‘remove from parent’ but it doesn’t work

If you want “E” to back you out of the widgets completely, back to HUD so to speak, then try the node “remove all widgets” then re-create or add back, your HUD widget. Hope this helps!