added alert dialog for delete task