Modal popups

Regions can be placed modally. This works the same in every respect, including placement and transitions, except that the page enters a modal state.

context.GetRegion(region).PlaceModal(myPoint, atReferenceRegions, point, xOffset, yOffset)

Once the region is placed modally, additional modals can be placed only from the top-most modal popup. Other such placement calls are ignored.

To close the modal region use:

context.GetModalRegion().Close()