Doesn't this open the editor twice?