When the dialog window is first instantiated, the close button works as expected. But after re-displaying the window the close button doesn't work until some other action is performed on the window such as setting it from maximized to windowed or minimized or vise versa. Then the close button works again.
I should have been more specific. The issue only presents itself in when the window is restricted to a container.
using the following set up
<ig:XamDialogWindow x:Name="dw" Width="200" Height="200"></ig:XamDialogWindow>
<Button Click="Button_Click" Height="20" Width="50"></Button>
private void Button_Click(object sender, RoutedEventArgs e)
{
this.dw.Show();
}
I wasn't able to reproduce your results, could you tell me more about your set up, or submit a small sample showing the behavior?