update empty view state

The state of the empty view needs to be updated whenever the dataset is
changed or invalidated