dispatching click events