add window model and ui