enter-save & newmaps into search: popup.js