modified add form to keep fields in case you have to reenter values