Add confirmation dialog for deleting queries.

Using bootbox.js.
(Minor annoyance: need to basically reimplement bootbox.confirm just to
change the confirm button from btn-primary to btn-danger?)