Adding a new option to automatically center modal

Specify center: true to automatically center the modal on first display, and recenter it on window resizing. Destroys the resizing binding nicely when removing the view.