added delete dialogue