Refactor sidebar, now it uses SidebarProvider which may be injected and use dynamic resources from other bundles.