Modified editor menu such that clicking on it won't reload page when already in the editor.