added a search button and query field inside a grid