Complete the dialog component.