add a modal lock dialog for better testing (and someone might find it useful, too)