This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
"This will dismiss the modal. If the modal is an alert, this must be equivalent to calling accept() on the dialog" In the browsers I checked, when I click "OK" to the dialog, the value gets set to the text box. When I click the "X" to dismiss it, the value is Null. When I click "Cancel" the value is Null.