How to add marker widget to the viewport?

I have a merker widget. When I statr a dialog with some cheracter, I remove all wigets (I don’t use remove from parent because then I need to make many changes) and then need to recreate it.
When I do it using create widget - I see this marker in the center ot the screen like it is a cursor, but it it an actro on the scene with widget and I dont know how to recreate it.