ensure changes are saved before fetching partials in editor