Apply window flags to wizard