The standard modal is designed to only have and be closed by one primary CTA. This is done on purpose. Forcing the user to acknowledge something.
The modal cannot be closed by any other method.