Fixed confirms with custom message

Also, updated the example