I assume when you mentioned I know I know you are saying it was the ex's idea buying the salvage ? if it was, congratulations you managed to get rid of half the lemon and I wish you luck with the other half .
Except for the nasty word salvage there would not be a problem to break even,,, If you want let's do this, test drive the Elantra and follow my steps under navigation # 4,,, if you feel after the test drive the Elantra is what you want,,, email me and give me the details what the dealer offered... also is there is a link I can view the Elantra for red flags ?
Under no circumstances will you commit to a deal on the spot,,, sleep on it.