[IncidentSettingsView] Enable to set visibility of delete buttons

This commit also add tests for it.