Falkirk lost their place at the top of the Scottish Championship after Gavin Reilly came off the bench to clinch a deserved victory for Queen of the South.
Bob McHugh fired wide from close range as the hosts threatened in the first half and should have been well ahead by the interval over a sluggish looking Bairns side.
Team-mate Michael Paton directed a shot narrowly over after the break but Reilly soon came on to end the impasse as the Doonhamers took control in difficult windy condistions.
The substitute headed in Derek Lyle's cross and then drilled home a left-foot shot for his second.
This was by far Queens best display of the season and turned in a powerful display especially in the second half as they faced a strong wind.
Dundee will not relish a visit to Palmy next week.
Lineup, Bookings (2) & Substitutions (4)
Queen of the South
- 01 Atkinson
- 02 Mitchell
- 03 Holt
- 08 McShane (Kerr - 62' )
- 05 Durnan Booked
- 06 Dowie
- 07 Burns
- 04 McKenna Booked
- 10 McHugh (Reilly - 69' )
- 09 Lyle
- 11 Paton
Substitutes
- 12 Antell
- 14 Reilly
- 15 Carmichael
- 16 Kerr
- 17 Dzierzawski
- 18 Hooper
- 19 Smith
Falkirk
- 01 McGovern
- 02 Duffie
- 36 Chalmers
- 35 Millar (Durojaiye - 16' )
- 06 Vaulks
- 03 Kingsley
- 11 McGrandles
- 10 Sibbald
- 33 Loy
- 08 Alston (Beck - 64' )
- 09 Roberts
Substitutes
- 04 Durojaiye
- 05 Flynn
- 07 Beck
- 12 Bowman
- 27 Blair
- 31 Shepherd
- 34 McCracken