added confirm pop up to delete history button