close extra fields when click on something else