Add lua errors to error dialog