Luka Modric has confirmed he will continue playing for Croatia into next year but refused to commit to representing his country at Euro 2024.