m2tk - Handling return from a 'dialogue'?

I've been playing around with m2tk and u8glib - nice work Oliver!

I'm using M2_STRLIST to present a list to the user. When the user selects an item in the list, it takes them to a dialogue. This works fine but I have a couple of questions:

  1. The dialogue uses two M2_ROOT elements to handle Cancel and OK, but I'd like to remove the Cancel button and instead use the M2_KEY_EXIT event to cancel. How can I achieve this? Is there an element I can add to the dialogue to handle input events (similar to M2_ROOT)?

  2. Upon return from the dialogue, the M2_STRLIST always resets the view to the top of the list. Is there a way of making it preserve the previous list position?