Add input validation and alert messages in Confirm activity (issue #36)