Added dialog confirmation prompt