# AbortModal Method

## Overloads

| [AbortModal(Boolean)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.AbortModal.htm#Qlik_Engine_IApp_AbortModal_System_Boolean_) |  | Aborts any selection mode in an app. For more information about selection mode, see `BeginSelections method`. |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.AbortModal.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.AbortModal.htm)

## AbortModal(Boolean)

Aborts any selection mode in an app. For more information about selection mode, see `BeginSelections method`.

### Declaration

```

          void AbortModal([QixName("qAccept")] bool accept)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Boolean | accept | Set this parameter to true to accept the selections before exiting the selection mode. |