Then you will (probably) get malwares that open a window in fullscreen that imitates that prompt and sends data to a server.
You probably could add some kind of fingerprint that allow identifying the legit prompts, but since it is not done with login screens...