Greg fixes dec 08

Would be great to replace standard alert with custom js popup in future