Add a close method to the prompt.
Merge pull request #2 from blainesch/feature/close

Add a close method to the prompt.