voting works in modal