Fixed incorrect isIframe logic.
Fixed incorrect resize transition when dialog body is on border-box box-sizing.