Remove editor on delete

Resolves #37