added function to make new quote work

added function to make the new quote form add to the array