Adding dialog modals to CD ref