Close FileChooserDialog after clicking cancel.