Change how modal was being closed.
Merge pull request #281 from topcoderinc/indy-I-115059-challenge-reg-flow

Change how modal was being closed.