Added Query and Cancel buttons

next to actually do something with the query