Close transectsModal when saving edits