Fixed naming via Prompt

@pdvyas - can you merge?

- [x] Tested by creating and saving a new DocType