makes events dialog resizable and draggable.