If the device is not enrolled, the window pops up w/o the focus and user cannot set focus onto it. This causes the app hang.