Set dialog width according to browser width.
I just set the width property as
width: ($(window).width()*0.9),
resizable: true,
and it worked .. but when I re-size browser I don't get resized dialog, it shows the same size.. not even adding scrolbar. How to set that dialog property?