[cmd:quicklook] set maxWidth, maxHeight to browser window size
[ui:dialog] set maxWidth to browser window width