Fixed saving while editing a value.