fixed issue with edit form not clearing text field when 'cancel' button is pressed