Use ListModel to maintain windows stack.