add location and close buttons