event manager dialog: save window position, and some cleaning