add "hide-when-not-active" window flag that indicates a window will be hidden when the app is not active