prevent closing modal during upload

http://manage.dimagi.com/default.asp?113695
fyi, this looks to be the cause of http://manage.dimagi.com/default.asp?139567 i'm planning on fixing it today (hopefully) but wanted to point out in case you knew immediately what to change.