How i can make dialog or modal movable and resizable?