changed to new hook: portalDataLoaded