Fix the undeploy confirmation modal

Change-Id: I55cefae8802f0fdd9293b74bf904cc8cd38a3e0a
Closes-bug: #1334717
Merge "Fix the undeploy confirmation modal"