Adding/modifying forms now keep the inputs if they were wrong, small js improvements on adding/modifying