Now only first button in dialog is primary

closes #156

![Selection_001](https://f.cloud.github.com/assets/283733/378085/1f27110e-a516-11e2-8872-fad430ef6bf0.png)

The code for the screenshot was

```javascript
 // Dialog Simple
    $('#dialog_simple').dialog({
        autoOpen: false,
        width: 600,
        buttons: {
            "Ok": function () {
                $(this).dialog("close");
            },
            "Cancel": function () {
                $(this).dialog("close");
            },
            "Test": function () {}
        }
    });
```

Tested in FF stable and chrome-dev