handle cancelled wavfile dialog