Dishwasher won't latch after door seal repair

I Changed Out The Door Seal To Stop A Leak. However, Now The Door Won’t Latch. Can You Help?