Yes it is preloaded. The problem is when the application is loading up it will call the map load complete function before the widget is actually showing on the application. The search widget, navigation, and headercontroller widgets all load after the mapLoadComplete function is called. The layerLoadComplete function is called everytime something is added to the map, so it will work in this, but that means that the query is called everytime another widget is turned on, so it keeps zooming back to the searched url.