[inspector] Extract SidebarPane behavior