Test the race directly
Open a slow pair, close it before both sides are ready, then open a different card. Verify that delayed content remains associated with its original review.
Use stable request identity
In an implementation, base the displayed result on the selected card and current open session. Ignore stale responses after the view closes.
Preserve visible state on return
Keep the list position and original focus so the user can reopen either pair intentionally.
Pass condition
Only the current comparison can update the dialog.