Make user confirmation configurable.

fixes #232