I added a user control in the master page for a particular site definition.
All good however the problem occurs when I open the dialog to add new documents for example. The user control appears at the top of this dialog box as well.
This same top header is visible on all open dialog boxes at the top which obviously what i was going for.
How can I have the user header control only appear on main pages? (and not dialog windows?)