Modal overlay's width and height are now sett via javascript when modal is shown.
Added a transform mixin which applies a transnsformation across all browsers.