style changes, added javascript confirm functionality