connected checkboxes with modal ones