Here's a photo of the latch that connects the two halves of the door.
When I remounted both door halves, I shimmed-up the top half to make sure I had alignment right on the latch before tightening everything down.
It works well.
On this photo the top half of the door still needs a second coat of paint.