created reset() function for edit widget