Make sure checkboxes don't try and access the parent after closing.