Alert and confirm

This supersedes @aadsm's pull request (https://github.com/montagejs/digit/pull/20), adding documentation for the alert and confirm dialogs.