Implementing drag and drop with the new buttons.