Automatically save even before user hits the Save button.