Help! that’s almost all i remember. Brother and sister were on holidays. At the beach girl found a talking doll with which she walks around whole film while her brother got just strange lame magnets. and the last scene where teacher asks children, how they spent their holidays and film ends when girl begins to tell. Thank you in advance.
(And excuse me, English not my first language)
Maybe: The Last Mimzy (2007) – https://www.imdb.com/title/tt0768212/