implementing confirm
Merge pull request #4 from weisjohn/master

implemented confirm(text, callback)