fix modal appearence of texture browser and some dialog windows