add open event after creation