added validation to check for selected attachments before displaying confirmation screen