OpenLayers Example

click to add popup to map
click to modify popup's attributes
click to destroy the popup
click to remove the popup from map