Implementation of grouped multi selection (dropdown with checkboxes, each checkbox allows to select several items).