The result was marred by controversy, as Real missed the chance to go level on points with leaders Atletico Madrid.
But Modric said afterwards: "We have done everything to win the game. We played quite well. In the second half we created many opportunities, but did not score. In a play where we have a penalty, they call a penalty on the other side. Bad luck, we are still alive and we are going to give everything to the end.
"I think the team is eager to play the remaining games and try to win all three and see what happens in the other games. We wanted to depend on us until the end and now we do not depend on us. We have to try to win what we have left and see what will happen. We have seen that all teams lose points, we have to have faith and that others are going to lose them."