When water backs up into your sink while the dishwasher runs, there's a clog somewhere. To fix a dishwasher overflowing into a sink, you simply need to find this clog and remove it. There are several areas between the sink and the dishwasher where the clog could occur, so start with so...
, are going into a drywell, and the drywell is no longer able to absorb the heavy volume of water discharged at once by the washing machine because its sides are suffering from a clog mat that renders them unable to absorb the discharge as fast as it originally did, so it backs up....
Whilst the pan is simmering make sure you sterilise the jars and lids throughly to avoid mould. You can either put the jars through a dishwasher cycle; or pour boiling water into the jars and dry with a clean tea towel; or handwash in warm soapy water and dry with a clean tea towel...