Fixed issue with delete dialogs not showing properly.