Fixed some (bizarre!) features of TraitsUI dialogs relating the close button so that the instance editor demo works as it does under wx.
Fixed some (bizarre!) features of TraitsUI dialogs relating the close button so
that the instance editor demo works as it does under wx.


pankajp/pyface,brett-patterson/pyface,geggo/pyface,geggo/pyface