Fixed bug where vote button did not work when vote modal was shown without reload.