Fixed saving of session while creating a new patient. #22