Fixed auto-confirm bug in confirm() utility method.