Nonideal theory of toroidal Alfvén eigenmodes