Use modals instead of browser alerts for confirmation.