Equine behaviour experts: what does head nodding mean?

If my mare has been stuck inside due to weather, she will start to nod vigorously when I’m in the vicinity, then she grabs her halter off the hook with her teeth and flings it at me, usually she hits her target! She is a super smart alpha mare and I adore her.