fix lazy rendering of snapshots form
Merge pull request #2627 from dimagi/lazy-render

fix lazy rendering of snapshots form