Thanks for the suggestion. I’m using this approach where it’s possible, but quite a few of my popovers are in dialogs and my app have three main containers. I agree to all of @Jonas suggestions for improvements.
My favorite solution, however, would be if you could add “Popover” as an option to the “Dialog Type” list. That would allow us to use normal dialogs as popovers.

All that is needed is a way to control the placement of the dialog on the screen.