fix(modal): Grab reference to body when it is needed in lieu of when the factory is created