# Dialog component states

**URL:** <https://community.evolveauthoring.com/t/dialog-component-states/1071>\
**Category:** General Help\
**Created:** [March 15, 2021, 2:16pm UTC](https://community.evolveauthoring.com/t/dialog-component-states/1071 "2021-03-15T14:16:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![potter\_li](https://avatars.discourse-cdn.com/v4/letter/p/f4b2a3/32.png) [@potter\_li](https://community.evolveauthoring.com/u/potter_li)\
**Post date:** [March 15, 2021, 2:16pm UTC](https://community.evolveauthoring.com/t/dialog-component-states/1071/1 "2021-03-15T14:16:22Z")

</div>

Is their a way to retain the dialog component state when re-visit the component for the second time? The dialog component reset to initial state on-return.

---

<div class="post-metadata">

**Author:** ![hbailey](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.evolveauthoring.com/hbailey/32/603_2.png) [@hbailey](https://community.evolveauthoring.com/u/hbailey)\
**Post date:** [March 15, 2021, 3:12pm UTC](https://community.evolveauthoring.com/t/dialog-component-states/1071/2 "2021-03-15T15:12:02Z")

</div>

Hi Potter\_Li and welcome to the community.

Take a look at the Local Storage extension - although only if the user will alway be accessing the course from the same browser/device.

---

<div class="post-metadata">

**Author:** ![potter\_li](https://avatars.discourse-cdn.com/v4/letter/p/f4b2a3/32.png) [@potter\_li](https://community.evolveauthoring.com/u/potter_li)\
**Post date:** [March 15, 2021, 3:33pm UTC](https://community.evolveauthoring.com/t/dialog-component-states/1071/3 "2021-03-15T15:33:00Z")

</div>

Thanks for your response, I’ve tried the “Local Storage” extensions and it doesn’t seem to work, even when i publish for LMS or web stand alone version. The dialog still resets to default state when return to the page.

i.e User click on the page → click on the diaglog —\> go back to the main menu —\> click on the same page again.
