1)check the seal on the door. Does it firmly against the body.
2)use dishwash powder only. It should be not foam. Otherwise the foam will go over the top and leak out.
3)dishwasher cost about 300 to 400, if you can't fix it yourself and it is out of warranty, buy a new one. It may cost 150 just for them to visit once