sidepanel is cleared when element is deselected or new provider is called.