In Harry Potter 2, Harry gives Mr. Malfoy Voldemort's diary in order to free Dobby, Lucius takes it with him. How did Dumbledore (in the film, can't remember about the books) possess the diary again in HBP?