click method on input elements should dispatch a click event. fixes #570

Dispatch an actual click event when click method is called.