fixed bugs; added capacity change modal