allow-modals is a flag that can be set on the sandbox attribute of an iframe to allow modals (like alert and confirm) to break out of the iframe. This flag is needed since Chrome disallows this behaviour by default from version 46.