editor closing; switch to newly created editor