Some popup refactoring to support multiple items per row in the popup.
This also adds a scrim behind popups so items can't be acted on while
the popup is open.