store the last focused mdi subwindow in settings and restore it (on demand)