Add a new hook on form delete