added a delete button
ability to delete queries