Sarah Hyland Learned About the Modern Family Death by Watching TV