Added support for button clicks.