I'm currently facing an issue with a dialog box that I have implemented successfully. However, I can't seem to get it centered on the page:
<Button variant="danger" onClick={() => { if (window.confirm('Delete character?')) handleCharacterDeletion(row.original) }}>DELETE</Button>
Despite my efforts, the dialog box keeps appearing at the top of the page rather than in the center where I want it.
I attempted wrapping the entire code in a div tag, but unfortunately, that did not help at all.
Is there a solution to have my dialog box centered on the page?
Thank you