At any time after a hearing has begun in the trial of the issue of just compensation for the taking or damaging of any property or property interest, if the petitioner has not already acquired title or a lesser interest in, or taken possession of, such property, or paid the amount of just compensation into court, and before the time for noting an appeal from any final order upon a report of just compensation, the petitioner may, upon motion, obtain as a matter of right an order dismissing the proceedings as to such property. Such order shall also provide that the petitioner shall pay such owner or owners for the following expenses that have been actually incurred by them in such amounts as the court deems just and reasonable:
Va. Code § 25.1-249