Refactor confirmModal to be reusable, and with parameterized title, text, and confirm label
Add optional predeleteFunction to displaySettings, so that there is control on whether the delete would continue or not

Code review : Chika Arevalo