add close icon to dialog