changes to dialog