Added page centering fix for jquery dialog by Andreas Lagerkvist