Close
Once all of the <form> element’s descendant <input type="checkbox">
elements are unchecked, trigger a reset event.
Then, listen for descendant elements of the <dialog> element to fire
reset events, and call HTMLDilogElement.close()
to close the dialog.