[ui:dialog] set max-width to $(window).width()
[ui:cwd] for touch device, open contextmenu by long-tap
Merge branch '2.1' into 2.1_n