Wrapped deprecated save() and restore() methods behind $.uiBackCompat