I have the following code in the OnBeforeLogin event of the UniMainModule with the EnableSynchronousOperations := True :
if uniGUIDialogs.MessageDlg('This is a test',mtWarning,mbYesNo) = mrYes then
Handled := False;
However the blocking MessageDlg is never displayed.