Fix crash on pressing No after being asked for confirmation from Script
Add test for clicking No in confirmation dialog after delete Script