LUN-1960: added events for snippet widgets lib