Fix problem of saving text and then editing again.