Connected add project modal to server and close on submit