Added history back directive, and use it for delete cancel.