3/13 2nd commit - fixed enter and edit

enter works but resets form if passed nothing