Fix for black screen of doom

http://manage.dimagi.com/default.asp?75687#434174

- only create the modal / alert for unsaved expression editor changes once
- don't allow creation of new questions when the expression editor has unsaved changes