added dialog part 1