fix double gallery edit form sections