If you want to stick with 2.0 APIs though, you may...
# suitescript
m
If you want to stick with 2.0 APIs though, you may be better off using the
N/ui/dialog
module to pop up a nice confirmation.