dismiss button in modal header sends rating to server