Completes the 'add/edit food' modal (the backend logic is still incomplete).