beautify the ui of dialog and avator