Drag/drop fix (popup)

* When dragging/dropping the popup in edit mode, sometimes the system
detects a drag/drop that it couldn't map to a useful source; in that
case an annoying popup alert was shown. Instead of alert, we now log the
error in the JS console as there's no benefit of alerting using dialog
popup.