Translation:You intend to listen to the story before the dinner.
Why isn't it "roimh an ndinnéar"?
Roimh an doesn't eclipse nouns beginning with 'd' or 't'.
It does eclipse nouns beginning with 'b', 'c', 'f', 'g', 'p'.
It also prefixes a 't' to feminine nouns beginning with s + vowel, sl, sn, sr.
In Gaeilge Uladh roimh an lenites where otherwise it would eclipse.
As far as elemental communication goes, you are correct. However, the sticklers would argue the verb pleanáil would be used for your idea. Yet, you know oral speech is fluid. You can give the Duolingo answer to progress through and laugh at the sticklers later as you chat your way around the Connachts!