HFE-533 HFEUI: During form submission, when creating a new visit, add that visit to the contex