(Just an idea)
Also, remove the content-height property from the dialog to avoid the QR code appearing smaller than before.