Exit the preset context menu correctly after editing/deleting preset