All tied up! Remarkable finish as Dockers, Magpies end all s