added support for showing selected items in a multi select