Hi,Welcome to Just Answer, My name isXXXXX will be helping you with your appliance issue today.
you will need to replace the dispenser solenoid in this,
90% of the time these get rusted and don't close correctly.
heres the diagram and the other thing to check is the spring on the flap # XXXXX its one or the other, i believe the solenoid is the issue though, its the most common reason in these. thanks Bryan