Fix drag and drop: disable dragging into the editor if upload dialog is open