fix #29046: make text easier to select after adding/editing

We need to doLayout after an edit (or at least force the page to rebuildBsbTree) or else you can't select the text anywhere but near the beginning.