jasmine.FileChooserAdapter cancel does not close the chooser but sends a cancel event (from jasmine.specs)