Hi @mwhite

I added this function because I had problem on UI when I opened and closed the modal. But I found another solution for my problem.