Reverting back to swing for error dialogs.