fixes event modal html structure