To be consistent with the rest of the language, they should go out of scope when the variable does, closing on its own. if you wanted it to hang around, you’d make a property to hold it open somewhere. Otherwise they’re going to leak.
All this is to say that tracking them doesn’t really matter. You should discard the reference to a popover after it’s shown and use events on the WebContainer with AddHandler to perform functions.