Don't show popups with Sidebar

Is there any way to not show a popup when hovering over an item on a sidebar?

Try the following code:

var popup = $$("sidebar").getPopup();
popup.attachEvent("onBeforeShow", function(){ return false });

and if you need to prevent selection in ‘collapsed’ mode:

$$("sidebar").attachEvent("onBeforeSelect", function(){ 
  return this.config.collapsed ? false : true;
})

Thank you.