Toggle the all selection checkbox
Wrap dropdown items with optgroup to group them
Dividers are added using div with className dropdown-divider