Add space as a confirm key, and use a loop for hard-coded confirm keys, too.