Fixed a bug  in the user data dialog box, when values were not populated when using a custom UserData class