Save while typing.