Move the curly brace to where it was before the merge

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.