# Render modal for user

**URL:** https://meta.discourse.org/t/render-modal-for-user/188456
**Category:** Support
**Created:** [April 28, 2021, 10:38pm UTC](https://meta.discourse.org/t/render-modal-for-user/188456 "2021-04-28T22:38:53Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![NaH](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nah/32/201626_2.png) [@NaH](https://meta.discourse.org/u/NaH)
#### Post date: [April 28, 2021, 10:38pm UTC](https://meta.discourse.org/t/render-modal-for-user/188456/1 "2021-04-28T22:38:53Z")

</div>

Hello!

I tried to customize for myself the discourse-patreon plugin. This plugin renders prompt about donation after “topic-above-footer-buttons” for some conditions:

[https://github.com/discourse/discourse-patreon/blob/main/assets/javascripts/discourse/initializers/patreon.js.es6](https://github.com/discourse/discourse-patreon/blob/main/assets/javascripts/discourse/initializers/patreon.js.es6)

But I want to render the same in modal instead. I know about showModal and try to use it here, but unfortunately failed. Really don’t understand how I can achieve this in my case. Can anyone suggest what I need to do?

Best regards
