Fixed confirmDelete for desktop