Allow url as first argument in MODx.loadPage()
Use MODx.loadPage in modx.component.js
Fix resource panel reloading on template change