Incredibly rough hack to get a templated modal with data contexts inserted when show() is called