# Delete Confirmation Dialog

To avoid inadvertent deletion of keys, Medis, by default, presents a confirmation dialog when a key deletion is initiated via the GUI.

While this feature is useful, it can slightly hinder the speed of your workflow in a development environment. Here's how you can improve this:

## Enable Shortcut

<figure><img src="/files/FIa32TDKBWtCjb5w5ffF" alt="" width="372"><figcaption><p>Delete Confirmation Dialog</p></figcaption></figure>

In macOS's default setting, users have to click the delete button explicitly to confirm the deletion. However, you can enable the shortcut to move the focus from the "Cancel" button to "Delete" button so that you can confirm the deletion with your keyboard.

To enable this feature, open System Settings, navigate to Keyboard panel, and enable "Keyboard navigation".

<figure><img src="/files/PAvffnL44SiAPUyI1mSP" alt=""><figcaption></figcaption></figure>

Once this shortcut is enabled, you can rely on the Tab key to shift focus to the Delete button, and the Enter key to authenticate the deletion.

## Disable Confirmation Dialog

Medis also offers an option to deactivate the confirmation dialog for each separate connection, reducing the steps for key deletion. You can modify this setting by accessing the connection setting found in the toolbar.

<figure><img src="/files/aJ9d3qj0NFvZ1GWpnNqm" alt=""><figcaption></figcaption></figure>

In the setting window, uncheck the Delete confirmation checkbox:

<figure><img src="/files/eyCWt3SHNZTvYCtR3xgs" alt="" width="375"><figcaption></figcaption></figure>

This modification only applies to the current connection, preserving the delete confirmations for other connections.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.getmedis.com/settings/delete-confirmation-dialog.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
