enhance search box behaviour.