Add preloadFunc to dashboard page