close modal when presented with multiple choices, fixes #19