When dealing with a straight GUI, it's totally up to you! Dialogs can be build from resources, and straight windows are generally "coded" instead of created from a resource.
So it's not necessarily about what's better or worse in this case, it's more about what makes sense for the program you're building.
Only you can answer thatDo I need a dialog