Product review (5 stars): Perfect Replacement Detergent Dispenser.
Excellent!  Exact replacement part.  Easy to replace -- remove dishwasher cover screws, remove defective part screws, then install in reverse procedure.  Plenty of step-by-step videos on YouTube.  Works as advertised.