Fixing Modal window so now it works in Canary version of Ember