TTMSFMXNativeBarcodeScannerPopup hangs

TTMSFMXNativeBarcodeScannerPopup if I show a MessageDlg in the "OnCaptureCode" event (to show the user if the barcode was not found) the MessageDlg cannot be clicked, so the app is stuck, you cannot tap the OK button, the dialog is on top but seems like its not focused. As a workaround I have to use a TTimer to show the MessageDlg


The event OnCaptureCode comes from a different thread. Please use the TThread.Queue method to show the dialog instead.