fixed wrap parent on error dialogs