copy same format as dialogs