added layers.replace
if views.find finds a preloaded view, set webview id also for resolved view