using position property for all dialog boxes

The jqueryUI dialog code uses different logic (for backward compatibility) based on the position argument. I have updated all dialogs so they use the position: { my: 'top', at: 'top+50', of: window } syntax. This may fix some intermittent render issues.