thanks to Russel, for pointing out that the dialoglist_lock/unlock routines also...