Fixed issue with new UIWindow not removing itself

Fixed UIWindow and user interaction issue and issue with alerts not
presenting themselves after they’ve been presented once.