Fixed bug where error when creating a field name that already exists wasn't showing the error dialog.