Added idKey to window example to fix it.