Remove editor events on destroy