Get out of edit mode after deleting a list
Save context after deleting a list to properly delete it