fix modal to enable auto horizontal centering

When using the modal the `width` is hard coded to `560px` and `margin-left` is hard coded to `-280px`
With this fix developers doesn't have to override the CSS and calculate the margin-left manually for each modal in their app - only set a width to the main element in the templateUrl and the modal will be horizontally centered.