Desperate to avoid a straight-sets finals exit, the Dockers made a stirring comeback to hold on in the west.