save value to textarea before destroy