Custom Dialogue Boxes are not possible using javascript.
It can be done using Visual Basic, but it will only be IE only.
You could make a pop-up widow that contains html inside it with a continue and stop button however. (This will work in all browsers).
If you want to keep the user from messing with the page till he closes the pop-up, IE has a special feature for that.