Made changes to deprecated dialogs.