CDM does not work if dialog is not installed and output is hard to catch as it just exits without error information. Please mention in the documentation that this is needed
You need to install the package dialog from your distro's repo. EG: I used Ubuntu. "sudo apt-get install dialog"
I know. I even said it in my comment.
My point is it took me a long time to figure out that that was the problem because there is no error output so the documentation should state that this is a dependency.
Oh, totally understandable. Was just trying to help mate. :) Have a good day
Appreciate it :) you too