Updating showModalDialog.js

* Updating the height and width conversions to handle both mixed case (dialogHeight) and lowercase (dialogheight) attribute names. Upper case style names (e.g. Height:100px) wasn't working.
* Adding a trailing semi-colon to the list of style attributes (if needed), and centering the dialog.
* Setting focus on the inner iFrame.