delete all code mod

updated code for delete all tasks button. now the user will get a prompt
asking to confirm.