as a user I would expect the presence of a big fat X in the top right to also act as a close button for a dialog.
Personally I prefer giving people a clear way to (cancel/close/dismiss/do nothing) on actual dialogs, that way there is none of this. (at the same time I am even more guilty because I can make screens with no ui at all )