MDN wants to learn about developers like you: https://qsurvey.mozilla.com/s3/MDN-dev-survey

cancelDialog()
Return type: no return value
Cancels the dialog and closes it, similar to pressing the Cancel button.

Document Tags and Contributors

 Contributors to this page: Sheppy, Marsf, Ptak82, Dria
 Last updated by: Sheppy,