The AddLayer plugin contains dedicated drag&drop code. This part of code should be replaced by a call to a DDZone object (see core/DDZone.js class)