This actually describe behavior in html semantics; I would actually have just added a listener on `a` (possibly `a.nick`) and perform the panel test within a `close`event handler.