Added route change when saving to elasticsearch or browser default