The modal popup uses the body
of the form for dragging. If the body's height is not properly set, the dragging will not work properly.
Set the following CSS styles and dragging should work.
html, body
{
margin: 0;
padding: 0;
height: 100%;
}