compiled modal demo, as in #68