Code

add selmodified connection to force dialog update on undo