Fix error display dialog. (and remove enaml warning).