if event is ommited, use click