Spawn and close event