When a dialog is displayed and the owner is not supplied or is given as
nil
, the CAPI tries to identify the appropriate owner. In particular, in the case where a dialog pops up in a process in which a CAPI interface is displayed, by default the CAPI uses this interface as the owner window. This case covers most situations.
CAPI User Guide (Macintosh version) - 30 Aug 2011