Close wait request when dialog is destroyed
Review Request #2293 — Created Feb. 26, 2023 and submitted — Latest diff uploaded
Because the request was previously only closed when the Cancel button was clicked, the request was dangling if the user clicked the window Close button, or pressed Escape.
Opened a wait request, then closed the dialog with Escape/the close button, and confirmed the cancel callback was triggered.