Implement drag and drop for the form