moved maps, corrected modal code