* Move check for 'dashboard' key to before the create/update if statement. * Add changelog fragment for PR #47459