Close any popover before we reload.
Improve the save as example to restore selected annotations.