# Cannot close Prismic Toolbar

**URL:** <https://community.prismic.io/t/cannot-close-prismic-toolbar/1740>\
**Category:** Developing with Prismic\
**Tags:** nextjs\
**Created:** [September 3, 2020, 12:50pm UTC](https://community.prismic.io/t/cannot-close-prismic-toolbar/1740 "2020-09-03T12:50:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mgilbride](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@mgilbride](https://community.prismic.io/u/mgilbride)\
**Post date:** [September 3, 2020, 12:50pm UTC](https://community.prismic.io/t/cannot-close-prismic-toolbar/1740/1 "2020-09-03T12:50:02Z")

</div>

Hello,

I have run into an issue with my implementation where the toolbar itself will not close. I press the "x" button, and the page reloads with the toolbar still in place.

Screenshot of the script tag I am including:

![Screen Shot 2020-09-03 at 8.48.40 AM](https://europe1.discourse-cdn.com/flex013/uploads/prismic/original/1X/f8492ee0e077fc7f4a9e723e191c04f24df4c1bb.png)

It seems like the page is loading twice after clicking the button...once where the toolbar is gone and then again, with the toolbar appearing.

Has anyone else experienced this?

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [September 3, 2020, 2:52pm UTC](https://community.prismic.io/t/cannot-close-prismic-toolbar/1740/3 "2020-09-03T14:52:04Z")

</div>

Hi Matt,

You're not the first person to report this, I've made the dev team aware and you can follow this thread where I will update everyone once I know more.

> [@Can't close the Preview module (Chrome)](https://community.prismic.io/t/cant-close-the-preview-module/1707):
>
> I have the same bug here. I am using gatsby and prismic and the preview never closes, whenever I hit the cross icon the page reloads with the preview system.

Thanks.

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [September 3, 2020, 2:52pm UTC](https://community.prismic.io/t/cannot-close-prismic-toolbar/1740/5 "2020-09-03T14:52:14Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/system/32/1746_2.png) [@system](https://community.prismic.io/u/system)\
**Post date:** [December 9, 2021, 5:21pm UTC](https://community.prismic.io/t/cannot-close-prismic-toolbar/1740/7 "2021-12-09T17:21:12Z")

</div>


