hide buttons and bubbles

* when there are no data,
* or hide stroke button when it is a punctuation