Use the escape key to close the QR code panel.