This is a sample of a message Password HTML file.

 

In order to use the buttons, they must be as follows.

The Ok button must have ID="ButtonOK"
The Cancel button must have ID="ButtonCancel"
The Password textbox must have ID="Password"

See the source of this sample.