add raw error dialog support, only add model to collection once it has been saved
diff --git a/planetstack/core/xoslib/templates/xosAdmin.html b/planetstack/core/xoslib/templates/xosAdmin.html
index daccf88..8e0448d 100644
--- a/planetstack/core/xoslib/templates/xosAdmin.html
+++ b/planetstack/core/xoslib/templates/xosAdmin.html
@@ -16,6 +16,12 @@
</table>
</script>
+<script type="text/template" id="xos-error-rawresponse">
+ <h5>Error</h5>
+ <pre>The server returned:
+"<%= responseText %>"</pre>
+</script>
+
<script type="text/template" id="xos-error-template">
<button id="close-error-box">Close Error Message</button>
<h3>An error has occurred.</h3>