Cancel button is now context-sensitive.
If running, processing is stopped. Else, close the dialog.