to add dialog resource into the ioctrldemo