Magnetic properties of graphene-like quantum dots doped with magnetic ions