Improve the imagemap search popup

createPopup method creates an empty popup - then updatePopup appends
the search results (and changes the query name if necessary).

Needs some kind of 'loading' placeholder and a button to close the popup.