« XUL Reference home
acceptDialog()
Return type: no return value
Accepts the dialog and closes it, similar to pressing the OK button.