drag-n-drop now functions, hope there are no bugs left