updates to dialog