Add goals to the dashboard view function