now parent icon asks exit or not and generate report