# Render modal from theme client-side plugin API

**URL:** <https://meta.discourse.org/t/render-modal-from-theme-client-side-plugin-api/94305>\
**Category:** Product Support\
**Created:** [August 9, 2018, 12:02pm UTC](https://meta.discourse.org/t/render-modal-from-theme-client-side-plugin-api/94305 "2018-08-09T12:02:33Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [October 6, 2020, 8:04pm UTC](https://meta.discourse.org/t/render-modal-from-theme-client-side-plugin-api/94305/16 "2020-10-06T20:04:20Z")

</div>

Hi,  
I’m showing a modal when we open a forum. Is there a simple way to prevent the modal from closing when we click outside?

---

_[View the full topic](https://meta.discourse.org/t/render-modal-from-theme-client-side-plugin-api/94305)._
