convert select to dropdown with checkboxes