WinJS solution using a content dialog as a modal and two ways binding an object, object to HTML and HTML back to object