feature/add to dashboard when public

Purpose
-----------
To make the Add to Dashboard button work again on projects where you do not have write permission.

Changes
------------
During the CommonJS adjustments, a curly brace was inadvertently moved, causing the add to / remove from dashboard functionality to get caught up in the "userCanEdit" permissions. This fixes that.

Side effects
---------------
None that I know of.