begin detect jquery ui dialog (refs #3609)