In 2007 dialog boxes often inherited backgrounds that you had not anticipated, or wanted. It seems 2010 has a much simpler fix to work around this.
Adding the class: .s4-notdlg should force the background not to show in dialog windows.
I noticed Randy and Heather both posted on the topic already so no need to get any more in depth than this here.