add value='query' on buttons