Add validation and user feedback when adding/modifying a source