Add capability check to dashboard widget

Fixes issue #6