Prevent default drag/drop action.

This PR prevents the default drag&drop event in the browser. I think this is necessary since the default action on most browsers is to replace the website with the image being dragged. A simple "misdrag" will result in all unsaved text being lost.