Early attempt at getting error codes from PageElement error dialogs