Adding modal popup for first-time <13 users

Also fixing some broken button logic in the flash template handling