Provide only-one-open functionality