Ensure save is called when toolbar buttons are pressed.