allow model to be posted via postMessage