Center Add/Edit Form

The most painless way to center the add/edit form is to use CSS.

<style>
    /* center edit form */
    .ui-jqdialog {
        display: none;
        position: absolute;
        left: 30% !important;
        top: 30% !important;
        padding: .2em;
        overflow: visible;
    }
</style>

Feedback and Knowledge Base