Yet another modal dialog box implementation in JavaScript.