Delete editorinstances when closing scope

By listeing to scope.destroy we can delete instanses f.x. when the user
navigates to a new page.