added alert view to submit