I don't think the functionality of `hasNextTab` should have changed because of this feature (because logically, whether or not there is an active collection, there still *is* a next tab).  The additional logic of displaying/hiding the button would probably better belong in the toolbar, e.g.:
```javascript
if (layout.hasNextTab() && Portal.data.ActiveGeoNetworkRecordStore.instance().hasActiveCollections()) {
    button.show();
}
else {
    button.hide();
}