Run the dired-after-readin-hook after the ag process is finished