If I press "Detect", after the detection (either a success detection or just timeout) the title bar (including the X) stops working, making it impossible to cancel the dialog.
The only way I found to make it work again is to click the device selection combo box.
Version is 5.0-8935, and I don't see anything related in the latest update release notes at the time of editing...