properly center pause dialog