# \[page lifecycle series\] repeating Load() for view model of ModalDialog on the same PostBack

**URL:** <https://forum.dotvvm.com/t/page-lifecycle-series-repeating-load-for-view-model-of-modaldialog-on-the-same-postback/159>\
**Category:** Discussion in English\
**Created:** [February 23, 2024, 3:22pm UTC](https://forum.dotvvm.com/t/page-lifecycle-series-repeating-load-for-view-model-of-modaldialog-on-the-same-postback/159 "2024-02-23T15:22:15Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![exyi](https://forum.dotvvm.com/user_avatar/forum.dotvvm.com/exyi/32/9_2.png) [@exyi](https://forum.dotvvm.com/u/exyi)\
**Post date:** [February 24, 2024, 11:31am UTC](https://forum.dotvvm.com/t/page-lifecycle-series-repeating-load-for-view-model-of-modaldialog-on-the-same-postback/159/6 "2024-02-24T11:31:42Z")

</div>

Yes, we call the nested Load/Init/PreRender on all properties, regardless if they have `Bind(None)`. The justification being that it’s usually much easier to deal with the Load being called multiple times than it not being called at all.

If you have trouble with this, note that you can override the `GetChildViewModels` and either check that there are no duplicates, or remove them (just call `.Distinct()` on it.). I’d probably stick to using methods, to make it clear which viewmodels are available client-side and which are just a proxy for some server-side code

---

_[View the full topic](https://forum.dotvvm.com/t/page-lifecycle-series-repeating-load-for-view-model-of-modaldialog-on-the-same-postback/159)._
