changed the properties (modal, destroy on parent death) of the window