added sceneDefinition.onshow hook