Hello, what is the best way to not close the dialog if the Pin is wrong? It doesn't pass an event handle so I can't call preventDefault