add code about FindDialog