im sure theres a better method, but have you thought of a timer that just keeps refocusing on the dialog