Add a button to sample app and set on_click event handler to something simple like ui.notify. Point to Actions section for more info.