Added AlertDialog on delete

Also fixed typo in previous commit.