Fixed bug in common.is_hidden for Windows, and set popups non-modal