Explicitly set the dialog's result code for TTS / Encoder windows. Fixes an issue...