Make dropdown emit namespaced 'hide' and 'hidden' events on close