I see that the UUserWidget has a function GetRootWidget(), but it only does it for that particular blueprint. Is there a way to get the root widget of the complete tree?
While this function might be nice to have, I was looking a bit to much in to it. Instead, I ended up saving references to these objects when they are added to the viewport root.