added 2 way binding to form
minor bug fix