# Add Callback to the "Create Topic" OnClick in new topic composer window

**URL:** <https://meta.discourse.org/t/add-callback-to-the-create-topic-onclick-in-new-topic-composer-window/158433>\
**Category:** Development\
**Created:** [July 21, 2020, 7:06pm UTC](https://meta.discourse.org/t/add-callback-to-the-create-topic-onclick-in-new-topic-composer-window/158433 "2020-07-21T19:06:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iansp](https://avatars.discourse-cdn.com/v4/letter/i/e8c25b/32.png) [@iansp](https://meta.discourse.org/u/iansp)\
**Post date:** [July 21, 2020, 7:06pm UTC](https://meta.discourse.org/t/add-callback-to-the-create-topic-onclick-in-new-topic-composer-window/158433/1 "2020-07-21T19:06:05Z")

</div>

Hi,

Is it possible to add a callback to the create topic button in the new topic composer window such that I can fire an event and wait for its completion before I actually create the topic? With webhooks I can fire an event on the creation of a new topic but I’d like to prompt the user with something before they can finish creating the topic.
