Rejigger the way popups are done a little.

We don't really need to wire this up like this anymore, since Root.getMenuHost() is available.