Split the "saving" alert into a separate component for code reduction