Add support for modal dialogs
Add support for modal dialogs

Modal dialogs use native Windows DialogBoxParam() family of functions.  However, these functions only disable the owner of the new modal dialog.  If there are any sibling dialogs, they will remain active, which can be confusing for users if they accidentally switch to one of them.  The khm_enter_modal()/khm_leave_modal() functions prevent this from happening by explicitly disabling all sibling dialogs when a modal dialog enters a modal loop.


secure-endpoints/netidmgr,secure-endpoints/netidmgr,secure-endpoints/netidmgr,secure-endpoints/netidmgr,secure-endpoints/netidmgr