Check out this brief article on writing dialogue. Hope this helps with some of the basics of writing good dialogue. Feel free to add more tips and I'll update it. Let me know if this link does not work...I'll copy the whole article in here.
http://filmschoolnow.com/dialogue.html
http://filmschoolnow.com/dialogue.html