F71: Rework isModal property setting for windows.