[fix] form validation for edit modal not working due to incorrect target selectors