add first sample
fix can't close dialog issue