Add closing logs when checkbox unchecked.