add a open event emit