minor change to save gallery to support major change in the dashboard part of the feature