resets form and adds modal on submit
prettified index.html