to display pop up box for confirmation and then delete selected record