Fixed a bug with "box-sizing" set to "border-box"

Fixed a bug where the dialog box was not looking 100% as expected if the
page was having the “box-sizing” CSS property set to “border-box”, which
is the default for most of the CSS frameworks; read more at
http://paulirish.com/2012/box-sizing-border-box-ftw;