Code:
STRING* level = file_dialog("Load level...","*.WMB");
	
	if(!level)
	{
		sys_exit("");
	}
	
	level_load(level);



The dialog that shows up shows all of the files instead of only .WMB's
and when "cancel" is clicked the program freezes instead of quitting.