add group instead of subnodes to the selected_nodes list
render group subnodes in sidebar
fix issue when selecting multiple groups
display the group title in the sidebar