add dialog icon fix some bug