A spectacular strike from Luka Modric secured a vital 2-1 victory for Real Madrid away to Granada in La Liga on Sunday.