applied fixes for ProfilePictureUpload dialog