#660 updated the AssessmentVariableService to maintain state of the current query for use in the textAngular modal