Made dialogs draggable. Closes #47