Provide hooks for user actions clearing events

Add hooks for clearing events open, opened, close, closed.