Avatar dialog: added error message of file type