trigger search functionality via event