Sending off changed the course of the game as Darragh Leahy saw red.
10 men Dundalk concede two second half goals and the game after a heartfelt effort.
Shelbourne game on Friday now becomes massive to keep the European dream alive