added functionality to close modal on submission
sorted questions by vote count, added vote count, added voting functionality