prevent default only on selection