to add the dialog resource into pcmctrldemo and imgctrldemo