The Dark Blues looked set to pick up a crucial point in their battle against relegation until Odsonne Edouard struck deep into stoppage time at the Kilmac Stadium at Dens Park.
It means Neil Lennon's team stretched their lead over Rangers going into the international break while Jim McIntyre's men remain a point above bottom club St Mirren.