UI error Cannot read property 'element' of undefined

I tried to view the citizen info window and got this bug. I couldnt close this window anymore (when I tried, the error message appeared). I also tried saving and reloading, but the saving never ended. Interestingly enough it did save though and after restarting the game, everything was OK.

release-519 (x64)
Uncaught TypeError: Cannot read property 'element' of undefined
TypeError: Cannot read property 'element' of undefined
    at Object.merge.$ (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:41072:44)
    at CoreView.extend.$ (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:42540:34)
    at App.View.Ember.View.extend.destroy (http://radiant/stonehearth/ui/root/js/stonehearth/view.js:35:24)
    at apply (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:19673:32)
    at superWrapper [as destroy] (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:19247:15)
    at HTMLDivElement.<anonymous> (http://radiant/stonehearth/ui/common/gui/gui.js:25:18)
    at HTMLBodyElement.jQuery.event.dispatch (http://radiant/stonehearth/ui/root/js/libs/jquery-1.10.2.js:5095:9)
    at HTMLBodyElement.elemData.handle (http://radiant/stonehearth/ui/root/js/libs/jquery-1.10.2.js:4766:46)

Hey there @AaronD, welcome to the Discourse!

Thanks for the report. For future reference, that is a UI error, and hitting F5 on your keyboard should fix it right up.