Update dialoguesubview.cpp

That doesn't work on Windows. (Are and/or allowed in C++ in any other compiler?)