Fix action menu visibility.

Previously the action menu was shown when context had a workflow state. This PR fixes the action-menu visibility and only shows the menu when it has available workflow transitions.

Fixes #8.