Ash Barty's improvement is building towards a Grand Slam singles title in the coming years, says Jelena Dokic.