Change event delete to use javascript confirmation.