(b) If a claimant files a civil action alleging a construction defect without first complying with the provisions of this article, then on application by a party to the action, the court shall dismiss the action, without prejudice, and the action may not be
refiled until the claimant has complied with the requirements of this article.