Use the Grid to create a dialog box that uses the WPF layout API