added basic submit logic for quotes