Set hideOnClose property.
If this window should be hidden when the users clicks the close button.
Builder instance for fluent chaining
Set hideOnClose property.