Bottom place Dumbarton cause a First Division upset as they took the points from Falkirk in an eventful 4-3 victory.