Fixed the nesting problem. Figured out that I have a flaw with the code, I do not have an option for upgrading when there is no choice made which causes the second error box I cannot get rid of.