Some small tweaks to the module

Added a way to broadcast a callback - clear the search field using a (very) simple broadcast emitter.

Pretty basic and doesn't cover all the scenarios, feel free to tweak as required.