Alerts were changed to confirm, and other minor edits