Move the event triggered for delete to after the deletion

When developing against the editor I found the `filterDelete` event was triggering before the deletion had actually occurred. This results in a few issues, namely when you want to grab the updated contents on delete.