Fixes dialog type, alt+tab won't focus it