Complement onShow with onHide
Remove all browser-specific hacks
purge the wrapper element and all automatic sizing
restore access to $.modal.update
Remove (now) incorrect comments about styling