Implemented dialog to confirm remove task.