popup on error, rather than redirect