add function when overlay is clicked close checkbox