Removing widget when pressing a button

Hi,
I have one widget blueprint which works just fine.

http://a.pomf.se/xeozug.jpg

So then I created a controller blueprint for when I press the Spacebar it enables the mouse, pauses the game and makes you click the object. So, you press the object and the widget appears. BUT, if in this moment I press Space again, the widget doesnt go away.
Besides, Im using an animation made in the UMG which I cant apply to the controller blueprint. I think Im doing it wrong.

http://a.pomf.se/jzwvff.jpg

How can I do this? I tried adding the same nodes as in the widget blueprint, but it didnt work.

I hope I have explained myself.

It’s not getting removed because you’re creating a second widget in your controller and removing it. You’re not removing the original widget that appeared first. When you create your first widget, you need store a reference to it in the player controller. Then you can access this stored widget reference and remove it.