Tag selector popup

document.popupNode seems to have been deprecated in favour of event.target.triggerNode. This just adapts the code for the tag selector popup to use the latter.

I'm not sure whether there are immediate benefits to the change, but we have had problems with the MLZ multilingual UI arising from reliance on popupNode, particularly on Mac systems.