The quote: “I just met this wonderful new man. He’s fictional, but you can’t have everything.” is from The Purple Rose of Cairo.
I love that whole genre of movies where reality and fictional worlds get mixed up. Pleasantville, for example, and I would even count Groundhog Day in here. Kinda. Sorta.