Fixed the dialogs.