added dialog structure