reworked the profile photo dialog