It is okay to leave clean dishes in a dishwasher overnight if you are too tired to unload the machine the same night. That being said, it is a good idea to wedge the door open a little when doing so to allow excess moisture and steam to escape and prevent mold from developing on the inner seals of your dishwasher.