Making sure text changes are "committed"