Fixed hiding modal after adding project