Dishwasher door latch wiring

Hello,
I took off the door latch from the dishwasher to replace it and I did not mark where the black and white wires go.
Please help. There are 2 black and 2 white ones.

Thanks,
Joe

Here is your wiring diagram
http://manuals.frigidaire.com/prodinfo_pdf/Kinston/154403001.pdf

The two blacks go to one switch and the two whites to the other.

Just check that they cannot get caught in the latch mechanism.

But does it matter, if the black is on the Rt or the Lt side? thanks

No it makes no difference