I'm writing a page where I'm going to need to use a confirmation dialog.
Should I use Window.confirm()
which opens a confirmation dialog in the browser using whatever settings are native to the browser?
Should I use a js library to create my 'own' modal confirmation dialog?
Or is there some other third option like opening a different page?
What would feel the most 'natural' for the users? I can tailor my 'own' confirmation dialog to match the format of the site, but would using the native browser one make it more natural for the users (especially since the browser might tailor it for various operating systems?)
Edit: (Not sure whether this is pertinent) - It's a pay-to-use web application for the general public. The audience is expected to be at least slightly tech-savvy because of the nature of this product. It's going to be international and OS/Browser agnostic. The confirmation dialog would be used for terminating the account for instance.