If element is inside a standalone interface, then container is the screen object.
is inside an interface that is inside a MDI interface, then
capi:container object of that MDI interface. See document-frame for details.
CAPI User Guide and Reference Manual (Macintosh version) - 3 Aug 2017