updates to the dialog component.