bind click handler for search action