added button to save annotations
added call to php script as well as script