[Windows] Fix pop-up dialogs instantly closing.
[Windows] Fix pop-up dialogs instantly closing.

Faless/godot,Shockblast/godot,vkbsb/godot,sanikoyes/godot,godotengine/godot,Zylann/godot,Valentactive/godot,Faless/godot,Valentactive/godot,vkbsb/godot,akien-mga/godot,sanikoyes/godot,akien-mga/godot,godotengine/godot,josempans/godot,josempans/godot,akien-mga/godot,firefly2442/godot,vkbsb/godot,ZuBsPaCe/godot,ZuBsPaCe/godot,Valentactive/godot,pkowal1982/godot,Zylann/godot,josempans/godot,godotengine/godot,Zylann/godot,vnen/godot,ZuBsPaCe/godot,BastiaanOlij/godot,Shockblast/godot,vkbsb/godot,Zylann/godot,vkbsb/godot,Faless/godot,godotengine/godot,vnen/godot,pkowal1982/godot,Valentactive/godot,ZuBsPaCe/godot,vkbsb/godot,godotengine/godot,godotengine/godot,vnen/godot,sanikoyes/godot,Zylann/godot,akien-mga/godot,Shockblast/godot,akien-mga/godot,ZuBsPaCe/godot,Valentactive/godot,Valentactive/godot,akien-mga/godot,Shockblast/godot,vnen/godot,Shockblast/godot,firefly2442/godot,josempans/godot,BastiaanOlij/godot,pkowal1982/godot,godotengine/godot,pkowal1982/godot,Shockblast/godot,firefly2442/godot,BastiaanOlij/godot,Valentactive/godot,guilhermefelipecgs/godot,josempans/godot,josempans/godot,BastiaanOlij/godot,firefly2442/godot,josempans/godot,sanikoyes/godot,firefly2442/godot,guilhermefelipecgs/godot,vnen/godot,sanikoyes/godot,akien-mga/godot,guilhermefelipecgs/godot,BastiaanOlij/godot,BastiaanOlij/godot,pkowal1982/godot,firefly2442/godot,firefly2442/godot,Zylann/godot,Faless/godot,Faless/godot,guilhermefelipecgs/godot,sanikoyes/godot,guilhermefelipecgs/godot,pkowal1982/godot,vnen/godot,firefly2442/godot,ZuBsPaCe/godot,vnen/godot,Faless/godot,pkowal1982/godot,ZuBsPaCe/godot,godotengine/godot,akien-mga/godot,vnen/godot,pkowal1982/godot,BastiaanOlij/godot,Zylann/godot,guilhermefelipecgs/godot,Zylann/godot,sanikoyes/godot,vkbsb/godot,guilhermefelipecgs/godot,Valentactive/godot,guilhermefelipecgs/godot,Faless/godot,Faless/godot,BastiaanOlij/godot,Shockblast/godot,Shockblast/godot,josempans/godot,vkbsb/godot,sanikoyes/godot,ZuBsPaCe/godot