add headers to popup dialogs