Fix avatar dialog