windows modal compatibility.