Added option to restore prompts (Fixes #662).