Fixes #214 by adding a "click" handler