add searchbox behavior