improve(overlay): add inline event handling