Added a small spike for how to wire in event handlers in searches. Need refactoring.