update the dialog implementation