added names to dialog