Context menu state saving