GE Dishwasher cup opens late

Can anyone offer advice? At the end of the cycle I open the door to find the soap dispenser open with soap (I’ve tried liquid & powder) dripping down the door and the dishes not clean. Seems to me I have a problem with the timer. Any suggestions? Thanks