add trim links from dashboard with errors handled via flash