Added loading spinner that listens to model state