Corrected error message in textsave function.
Trying to fix notice/alert problem.