allowOnlyOneModal wasn't properly clearing it's interval