Implement search functionality in the behavior history overlay.