Render on restore so we can modify doc first