Base style

Implement a base style that will be used as an API by custom styles.

Issue: #45
Dismiss popup menus

Explicitely dismiss popups when the content is clicked.