temporary fix of jquery related dialog position

• now the dialoag is centered horizontally and vertically
  it's not ideal but better than just top left