Thank you very much for the pointers Dan, I'll get to this ASAP. Just one more thing: How do I remove a modal handler? Removing callbacks is easy, and I've found the function to add modal handlers, but not how to remove them. Cheers, Martin