Add default onclick event

https://issues.jboss.org/browse/RF-13747