Added an error popup that to final confirmation button. Programmed by Michael.

An error popup now appears if the user's information has not been sent to the database. Currently, this sends
them back to the homepage, but I think it makes more sense for them to be taken back to the beginning of the
pattern creation process. (Feature #95)