changed modal to checkboxes