Fix for #29. Don't allow add project modal to close if child modal is pr...

Fixes #29