Fix a couple of bugs related to presenting a new ARIA alert or dialog