# Is there a close event in Lock Passwordless when used as modal dialog?

**URL:** <https://community.auth0.com/t/is-there-a-close-event-in-lock-passwordless-when-used-as-modal-dialog/7501>\
**Category:** Get Help\
**Tags:** lock-passwordless\
**Created:** [July 13, 2017, 12:51pm UTC](https://community.auth0.com/t/is-there-a-close-event-in-lock-passwordless-when-used-as-modal-dialog/7501 "2017-07-13T12:51:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![info111](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@info111](https://community.auth0.com/u/info111)\
**Post date:** [July 13, 2017, 12:51pm UTC](https://community.auth0.com/t/is-there-a-close-event-in-lock-passwordless-when-used-as-modal-dialog/7501/1 "2017-07-13T12:51:05Z")

</div>

How do I get an onclose event when someone dismisses the passwordless modal?

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [July 13, 2017, 5:01pm UTC](https://community.auth0.com/t/is-there-a-close-event-in-lock-passwordless-when-used-as-modal-dialog/7501/2 "2017-07-13T17:01:02Z")

</div>

There’s no support in Lock Passwordless to raise an event when the end-user closes the modal dialog.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:55am UTC](https://community.auth0.com/t/is-there-a-close-event-in-lock-passwordless-when-used-as-modal-dialog/7501/3 "2018-03-02T05:55:21Z")

</div>


