Deals fail on conditions, title and financing mechanics. The legal work that protects a project happens before the deposit is irrevocable.
Some legal claims are subject to strict limitation periods. If you believe you may have a claim, do not delay obtaining legal advice.
Have the structure reviewed before the deposit goes hard.