Dishwasher Door Spring Broke

One door spring broke and the door will fall open if not latched closed. I think there are two springs & 2 retainers. Do I need to replace all 4 pieces and if so How do I go about this project?

Spring Part # AP3115106
Retainer # AP2904280