saves text entity