added Window.getAvailableWindowModes