changed addSelection handlers to mouseDown instead of click to remove event firing race condition