// Problem happens regardless of duration, but unless using
// the `.velocity-animating` CSS hack it is easier to see with longer durations.
const options = {duration: 1000, easing: 'easeInOutQuad'};

export default function(){
  this.transition(
    // this works
    //this.use('fade')

    // this has a glitch; can see second copy/ghost of modal in top left when closing
    this.use('explode', {
      pick: '.ember-modal-dialog',
      use: ['fade', options]
    }, {
      pick: '.ember-modal-overlay',
      use: ['fade', options]
    })    
  );
};