add onDropComplete tests and fix deletion modal