triggered save document event after the settings form submission