Save, quit TextEdit and go on to the replacement.