I'm attempting to create a Bootstrap UI Modal that is centered both vertically and horizontally.
While I found this solution that successfully centers the modal vertically, it loses its horizontal centering when applied to my own template with 800px width:
For example - http://plnkr.co/edit/vp3IWIcrpGG6ehH8JKVe?p=preview
Is there a way to achieve vertical and horizontal center alignment for the modal using my own dynamic template?
Please Note: The width and height of the template are variable, so any solution should accommodate various dimensions.