added some confirmation alerts