typeOf(window.dialogWidth) 'undefined'