Sev/menu focus fix
When opening a dialog, the active focus chain is deleted. After closing said dialog, the outermost container gets focus, instead of the previously focused element. Only after moving the mouse or using the TAB key, focus is reassigned.
This branch adds a saveFocus() function to the Container class, which recursively saves the focus chain. When the container is focused again with setFocus(), it restores the saved chain.