fix(macModal): Error message referencing undefined variable.