Use the Popup's isDraggable property to make dialogs draggable.
To be draggable, popups must contain an element with the ".wj-dialog-header" class.