Cloudiness on glasses is often caused by hard water deposits. The rinse aid will normally help correct this problem if it is dispensing properly. Soap residue or etching can also cause the glasses to be cloudy. See if the cloudiness will wipe of easily. If it does then it is likely detergent residue. If it won't wipe off then it could be caused by hard water deposits or etching. Soak a cloudy glass in white vinegar for 5 minutes and see if the cloudiness goes away after the glass is dry. If not then the glass is etched. If the cloudy residue disappears after soaking the glass in vinegar then it is caused by hard water deposits.
If the glass ware is etched, it will not be able to be restored. Here are some things that normally cause etching:
Manually prerinsing dishes before loading the dishwasher. Removing all of the food residue from dishes can cause the dishwasher detergent to etch the glassware due to a high alkaline concentration developed in this situation.
Properly adjust the amount of detergent that you use according to your water hardness. You can use a water harness test kit or check with your local water supplier to determine water hardness. Follow the directions in your owner's manual (page 11) for detergent use based on your water hardness. Here is a link for your owner's manual in case you need it:
Check the water temperature going to your dishwasher. Page 12 of your owner's manual has the proper procedure for checking water temperature.
If the residue is from hard water deposits, I recommend checking the amount of detergent that you are using as mentioned previously. Also, make sure that the rinse aid is dispensing properly. Only a small amount of rinse aid is dispensed during each cycle. Over time, you should see the rinse aid dispenser empty out. Check the water temperature as noted above. Check the water level in your dishwasher. Start a cycle and allow the dishwasher to fill and then crack the door as soon as the filling stops. Open the door and look at the water level in the bottom of the dishwasher. It should be within 1/4" to just touching the bottom of the heating element in the bottom of the tub. If it is too low, you may need to have a plumber fix your water supply to the dishwasher.
If the cloudiness is caused by detergent residue then you could be using the wrong amount of detergent or you could have a water fill level problem. Low water temperature could also cause this problem.
The dishwasher itself will rarely cause a cloudiness problem on glasses. In rare situations a weak spray pattern caused by a bad pump or problem in the sump could cause this problem. Check your spray arms for damage. Make sure that the spray arm holes are not clogged with hard water deposits. Make sure that you are loading the dishes properly.
These tips should help you resolve the problem in your dishwasher. If you need more help, resubmit your question with additional details.