Changed prevent default to work more broadly.