Bug: could not add a new layout after latest changes to link manager