basis.devpanel: fix issues with inspect mode and shared dom element