added reset option to editform demo