Adds a dismiss button on the query response table