At the end of the episode, Jim finds an encouraging note from Pam, and returns to the office to ask her out. This mirrors the end of the finale of the original series, where Dawn returns after finding an ecouraging note from Tim.
David says "Oh, I'm having a bit of trouble myself!". This is a reference to Frank Spencer in 'Some mothers do 'ave 'em', who was always getting into silly situations.