Code for a Very Simple  Acrobat JavaScript Dialog

var TestDlg1 =
{
    description:
    {
        name: "My Test Dialog",
        elements:
        [
           {
              type: "view",
              elements:
              [
                 {
                    item_id: "sta1",
                    name: "Check the box",
                    type: "static_text",
                 },
                 {
                    item_id: "Chk1",
                    name: "Check Box",
                    type: "check_box",
                 }
              ]
           },
           {
              type: "ok_cancel",
           },
         ]
      }
};

Here's what the dialog looks like when this code is executed from inside a PDF or from any other JavaScript location in Acrobat,

And this is a really simple one! Plain Jane with no properties or handler functions to extend the dialog's functionality;)