Dish washer

Dish washer only continues to run if I apply pressure on door for at least 10 minutes. Do you think if I replace door seal it work operate as soon as I press start?

It sounds more like you need to adjust the door latch. Somehow it isn’t allowing closure of the door switch.