get dialog resizing working