Add general resolver to importer

The problem is that the dom element that is the popup is not contained inside the element that triggers it. It gets created in an arbitrary place, with a one way link from the triggering element in the form of `$(dom.popupTrigger).popup()`. So when this event happens inside the popup, there's no path back to `dom.popupTrigger`.

I can probably add some more selectors into this to be less opaque. It's worth noting that this schema of `.parent().parent()` is laid out in the `popover.html` base template, so there's parity between that and `popover.js`.