Anthony Modeste headed a dramatic late equaliser as Borussia Dortmund came from two goals behind to draw with Bayern Munich in the Der Klassiker.