trailing comma in enum SelectionMode

(cherry picked from commit 6af16dbb6b11ba3ba71a8696707ae78eaff62726)

Conflicts:
	source