update modal to use data-clear-checkboxes attribute