Is this on Windows? Your project shows the same issue. But it seems to be necessary to change the Title before opening the dialog.
it can be fixed.I suppose the Title property could be a littler smarter in determining what needs to be changed at the time.
This is true for Linux as well (I think it will be true for Darwin as well).