Saves attribute values in editor