Indicates that the alert box should be closed on the specified event. Be default occurs after the click.

<button onclick="alert('The item is removed!')">Delete</button>
public class SamplePage : Page<_>
{
    [CloseAlertBox]
    public Button<_> Delete { get; private set; }
}

The example defines that the alert box should be closed after the click on the Delete button.