Fixed a margin bug in the dialog module.

Enabled nuget package restore on the .net samples.