conditionally show bsModal and halt execution while modal value is not selcted in RShiny

Cross posted (FAQ: Is it OK if I cross-post?)

https://stackoverflow.com/questions/63103554/conditionally-show-bsmodal-and-halt-execution-while-modal-value-is-not-selcted-i