TabBar: ensure that selection change is properly dispatched on data provider change (references #635) (closes #656)