js confirms for trash/empty