dismisses modal upon successful entry