Prevent removal of polyline-based buffers on cancel after save

Fix #7