SOLUTION
I’m using UE 5.4
What I did is add the widget and then store it on a variable and then I use this code to remove it.