Added client-side behaviour for delete custom fields