make UI private to window