ui: Use `PopoverMenu::new` for constructing `PopoverMenu`s (#13178)

This PR replaces the `popover_menu` function for constructing
`PopoverMenu`s with a `PopoverMenu::new` associated function.

This brings `PopoverMenu` in line with our other UI components.

Release Notes:

- N/A
78e0f71a28Marshall Bowers committed on 6/17/2024, 10:14:37 PM· committed by GitHubparent59104a0
9 files changedLine totals unavailable