# Allow easy closing of create link modal

**URL:** https://meta.discourse.org/t/allow-easy-closing-of-create-link-modal/190418
**Category:** Bug
**Created:** [May 14, 2021, 2:39pm UTC](https://meta.discourse.org/t/allow-easy-closing-of-create-link-modal/190418 "2021-05-14T14:39:28Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![mentalstring](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mentalstring/32/168934_2.png) [@mentalstring](https://meta.discourse.org/u/mentalstring)
#### Post date: [May 14, 2021, 2:39pm UTC](https://meta.discourse.org/t/allow-easy-closing-of-create-link-modal/190418/1 "2021-05-14T14:39:29Z")

</div>

When in the insert link modal dialog, pressing ESC doesn’t close the dialog when the focus is on the URL field. But, it does when the focus is anywhere else.

 ![image](https://global.discourse-cdn.com/meta/original/3X/c/b/cb78ab5acacd9192b59266383d09b30841ec9f0f.png)

Since the focus defaults to the URL field, it would handy to be able to more easily close it.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [May 17, 2021, 4:10am UTC](https://meta.discourse.org/t/allow-easy-closing-of-create-link-modal/190418/2 "2021-05-17T04:10:23Z")

</div>

Honestly, I think we should just switch to the GitHub implementation here.

 ![image](https://global.discourse-cdn.com/meta/original/3X/c/2/c2fd0222841e7df7f553d30b15809a26caf2c49e.png)

It is far less distracting than the modal.

---

<div class="post-metadata">

### Author: ![mentalstring](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mentalstring/32/168934_2.png) [@mentalstring](https://meta.discourse.org/u/mentalstring)
#### Post date: [May 17, 2021, 8:41am UTC](https://meta.discourse.org/t/allow-easy-closing-of-create-link-modal/190418/3 "2021-05-17T08:41:40Z")

</div>

Less distracting, but perhaps not as easy to understand for non-technical people?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [July 5, 2021, 1:57am UTC](https://meta.discourse.org/t/allow-easy-closing-of-create-link-modal/190418/4 "2021-07-05T01:57:10Z")

</div>

Something happened recently and it looks fixed to me. 🎊

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [July 5, 2021, 10:00pm UTC](https://meta.discourse.org/t/allow-easy-closing-of-create-link-modal/190418/5 "2021-07-05T22:00:37Z")

</div>

This topic was automatically closed after 20 hours. New replies are no longer allowed.
