Critical phenomena in dipolar magnets