updated alerts and dialogs