Allows saving last focused window before switching screens in Slate