Add hook to delete transaction view to call dbapi.delete_transaction()