fix add and edit mode handling in crecord form
fix add record feature on crecords