The DtRetreatTaskDialog allows the user to select a means of retreat and then manages that task depending on where it was initiated from.
Header file:
Implementation: