I have found that I can modify a shipyard (retool, capacity expansion, or add a slipway) if all of the slip ways are busy, but once I start a modification, I cannot then add construction, refit or scrap tasks until the modification is complete. I do not know if this is an error or the intended design.