add keepOneOpen option