manage dirty state for adding new array items