Correction to prompt widget.

The prompt text template was being overwritten by the 1st invocation.

Closes #432