Migrate custom delete confirmation dialog code library.