wifi: Allow QR code dialog to be closed by pressing ESC
Being able to close the QR code dialog by pressing the ESC key would be a handy feature.
By switching from GtkWindow to GtkDialog, the QR code dialog is closed when pressing ESC.
Closes #2357 (closed)