Updated to use dialog element and fixed to look for 'mac' and hardcode the response