Save document (to update index) after creating Pages