}
private InfoWindowContent newLocationCreateForm(final LatLng point,
final LocationHandler handler, final InfoWindow info) {
final TextBox titleBox = new TextBox();
final TextArea descriptionBox = new TextArea();
Button saveButton = new Button("Save");
saveButton.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
titleBox.setReadOnly(true);
descriptionBox.setReadOnly(true);
Location loc = Location.newInstance();
loc.setTitle(titleBox.getText());
loc.setDescription(descriptionBox.getText());
loc.setLatitude(point.getLatitude());
loc.setLongitude(point.getLongitude());
loc.setMilis(Long.toString(new Date().getTime()));
handler.handle(loc);
info.close();