Resize dialog works uglily. Added JQuery UI